简体   繁体   中英

How to create service in iOS?

Does any one suggest to how make a background service in iOS(iPhone/iPad) app?

Is it possible the service running at background continuously? I have to make service with HTTP communication(REST service).Which can help to launch other application.

Is it possible?

Thanks

For this you have to establish Asynchronous Connection which works on behind the application while Synchronous connection works on Main thread which is not your requirements.

You can Download ASIHTTP classes from Github to implement while

You can found good description about these files from Here and Implementation example is Here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM