tags:

views:

17

answers:

1

Hi,

I want to add UIApplicationExitsOnSuspend key in info.plist file

but all the UI related keys are missing.

What should be done to get UI related keys in info.plist file

I have default frameworks uikit, foundation and coregraphics added to my project.

A: 

If you have created your project for an earlier iOS version, it is still made for this and doesn't recognize the new keys. Try this: Open your Info.plist as a plain text file and insert following text to it.

<key>UIApplicationExitsOnSuspend</key>
<true/>

Save the file and any the app closes now on suspend.

AlexVogel
Thanks Alex for your reply, but the problem is not only the above key is invisible but also all ui related keys are not there eg: UIRequiredDeviceCapabilities. :(
Mohan