Android basicnamevaluepair list in iOS -


i new in ios, in android call web service using basicnamevaluepair list in android in ios how code? in android it's work fine in ios send data in json dictionary format try in string format it's not working , equivalent of basicnamevaluepair in ios

thanks

just use namevaluepairs in android, in ios nsdictionary used. using can store multiple values / objects (even arrays , stuff) using key (which equivalent name part in namevaluepair)

here example of how use this.

just quick overlook here how works in android

list<namevaluepair> params = new arraylist<namevaluepair>(); params.add(new basicnamevaluepair("key", "value")); 

and here how works in ios

nsdictionary *dict = @{"key" : @"hello there!"}; 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -