Close application when pressing home button (ios), (prevent running in background)
Submitted by jasper on Sun, 11/05/2014 - 10:32
If you want to close the application when pressing the home button (prevent running in background).
Copy the "info.plist" file from the build/iphone directory into the root directory of your project (where the "tiapp.xml" file is located)
add the following 2 line to the copied file
<key>UIApplicationExitsOnSuspend</key>
<true/>
Delete the folder
build/iphone/build
and rebuild your project
- Log in to post comments