Multitasking in iPhone 4,"application does not run in back ground" option in Xcode 3.2 info.plist
In Xcode 3.2 in INFO.PLIST we have option "application does not run in back ground" when we check this box and run the application in iPhone 4 ...every minimization leads to exiting of app.
Doesn't this violate concept of Multi Tasking in iPhone 4? because every time we minimize the application the application restarts.
Can mu开发者_StackOverflowlti tasking be removed for iphone 4? which means i am changing device behavior, which i feel is changing device properties(HIG guide line says should not ) , Isn't it a rejection risk?
I feel that preventing an app from supporting multitasking doesn't violate Apple's guidelines. Apple should have felt it too. If you application doesn't actually need to run in background, you can very well prevent it by enabling "application does not run in back ground" key. I bet, Apple won't sue you.
Why would Apple even add a feature that violates its own rules?
Not sure what your actual question is (I honestly don't understand it), but the box is specifically meant to disable any kind of background running of your application. If, for whatever reason, you do not wish your app to stay alive in the background, check that box.
Keep in mind, that if you really want to start a background threat after your app is suspended, you have to manually do that (and of course disable the option). Staying alive in the background without any specific action from the developer only means you will be kept alive in the background as long as the system allows you to (i.e: if system resources run low, your app will be killed unless you start a background threat, which buys you more time).
If you check that box, you will be killed no matter what. Could be helpful if you do not wish to handle any background states and it is fine (or even wanted) for your application to restart every time the user starts it.
精彩评论