Multiple request with NSURLConnection with NSURLConnectionDelegate protocol methods in swift -
in nsurlconnectiondelegate protocol function connectiondidfinishloading(connection: nsurlconnection!), getting son result. if try use nsurlconnection twice connecting api in server, getting error "the data couldn’t read because isn’t in correct format". if u run request separately, giving output.
i use code found in stack overflow nsurlconnection using ios swift
Comments
Post a Comment