简体   繁体   中英

How can i send some request from ios 5 app to server who is in local network, while app is in background?

So, I have an iOS app which needs to communicate with a server all the time. Logical solution for this problem is using push notifications, but it's impossible because the app needs to be used only at local network (Server will be at the same network).

I have read about beginBackgroundTaskWithExpirationHandler: but this should work for maximum 10 minutes, so it's not ok. Also I have read about some manipulations with audio/voip/location in background, but apps with this stuff can't be accepted at Apple App Store.

Is there some legal solution for this problem? Any Ideas?

不,当您的应用程序在后台时,它就在后台:-)

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