exit in ios using flash CS6
Hi,
I am using flash CS6 to create an iPad application. I want to exit the app when user click on home button. Is there any way to do it programatically?
I have published the ipa file. Then change the extenstion to zip. Open the "application.xml"which is in the AIR folder.
The previous code in the xml was:
<iPhone>
<InfoAdditions>
<![CDATA[<key>UIDeviceFamily</key><array><string>2</string></array>]]>
</InfoAdditions>
<requestedDisplayResolution>standard</requestedDisplayResolution>
</iPhone>
I have changed it to the:
<iPhone>
<InfoAdditions>
<![CDATA[<key>UIDeviceFamily</key><array><string>2</string></array><key>UIApplicationExitsOnSuspend</key> <true/>]]>
</InfoAdditions>
<requestedDisplayResolution>standard</requestedDisplayResolution>
</iPhone>
Save the file.
Again convert extension from zip to ipa and tried to installed it on iPad.
But, now the application failed to installed.
Could any one tell me what may be wrong here?
Thanks in advance.
Regards,
Swapnil
