Thursday, October 16, 2014

How to set the property UIApplicationExitsOnSuspend in a Info.plist file in Visual Studio (Xamarin)


As a long time Windows/Microsoft/Borland developer, I have to say that when I look at the syntax of Apple PLIST file, I am baffle. 

What weird usage of xml? On top of that the syntax for a property of type string is different from a property of type Boolean. Anyway.
  • Right click on the Info.Plist file and select "Open With..."
  • Select XML text editor
  • At the end of the file add the 2 lines
 <key>UIApplicationExitsOnSuspend</key>
 <true/>

No comments:

Post a Comment