ios - Is there any way to programatically send my iPhone app to the background -


i have iphone app need send background automatically. app defined voip key in background modes should continue running when in background. need app keep running calling exit(0) no good.

the app not distributed via app store using private api ok.

i have read uiapplication terminate , uiapplication terminatewithsuccess don't seem available anymore

already answered quite here:

suspend application

as poster wrote:

quitting application or sending background programmatically violation of [ios human interface guidelines][1], doesn't bode getting through review process:

don’t quit programmatically

never quit ios application programmatically because people tend interpret crash. however, if external circumstances prevent application functioning intended, need tell users situation , explain can it. depending on how severe application malfunction is, have 2 choices.

display attractive screen describes problem , suggests correction. screen provides feedback reassures users there’s nothing wrong application. puts users in control, letting them decide whether want take corrective action , continue using application or press home button , open different application

if of application's features not working, display either screen or alert when people activate feature. display alert when people try access feature isn’t functioning.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -