iOS iPhone GKSession discovery in background -
i know system can close bonjour sockets while application suspended. ,will system allow me while application in background discover other devices not creating sockets them , perhaps store devices in list or ?
use uiapplication's method
- (uibackgroundtaskidentifier)beginbackgroundtaskwithexpirationhandler:(void (^)(void))handler you can run code in background 600 seconds on ios 4.x , later versions.
Comments
Post a Comment