ios - ios7 data fetch from my server in background mode for every one hour -


i'm developing iphone app make phone call app using voip. have connect server every 1 hour register device , make available incoming calls @ time. in ios7 how possible connect server every 1 hour if in background mode. appreciated.

thanks, jirune

there specific information in ios app programming guide on implementing voip app -

to configure voip app, must following:

  • enable support voice on ip background modes section of capabilities tab in xcode project. (you can enable support including uibackgroundmodes key voip value in app’s info.plist file.)

  • configure 1 of app’s sockets voip usage.

  • before moving background, call setkeepalivetimeout:handler: method install handler executed periodically. app can use handler maintain service connection.

  • configure audio session handle transitions , active use.

once socket configured voip usage, ios manage in background, keeping alive , notifying app when there traffic


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -