Honestraj19 February 2016

How to call webAPI?I had created my SIGNUP page but i don't known how to call webapi in button click event

I had created my SIGNUP page but i don't known how to call webapi in button click event IOS SWIFT.**enter code here**

Answers


NSAnant February 2016

There are two ways to call the WebApi. 1. NSURLConnection 2. NSURLSession

Take a look at http://stackoverflow.com/a/24176452/2010154 for NSURLConnection

http://www.kaleidosblog.com/nsurlsession-in-swift-get-and-post-data for the NSURLSession

Post Status

Asked in February 2016
Viewed 1,646 times
Voted 5
Answered 1 times

Search




Leave an answer