I am new in iOS, in android i call web service using basicnamevaluepair list in android but in iOS how it code? in android it's work fine but in iOS I send data in JSON dictionary format also try in string format but it's not working , what is equivalent of basicnamevaluepair in iOS
thanks
Just like you use
NameValuePairsin Android, in iOSNSDictionaryis used. Using this you can store multiple values / objects (even arrays and stuff) using akey(which is equivalent to theNamepart inNameValuePair)Here is an example of how to use this.
Just for a quick overlook here is how it works in android
And here is how it works in iOS