Exiting app via 4 finger swipe causes mayhem!Monkey Programming Forums/iOS/Exiting app via 4 finger swipe causes mayhem!
| Hi all,|
My Monkey app is on the app store, which is great news (see signature, below)
Just had some feedback from an ipad2 user - exiting the app by pressing the round button works fine. Exiting the app by a 4 finger swipe/ pinch (didn't know you could do this) seems to confuse the hell out of an ipad2 - requiring a reboot to restore sanity.
Anyone else seen this with other monkey/ ios apps? Compiled with monkey v60 and xcode 4.4 (I think!).
Edit: I meant 5 finger pinch, not 4 fingers. Seems the crash is my fault; in the objective C code created by Monkey, I hacked in a crafty exit(0) into an Onsuspend() (or similar) function. This was to get the app to exit when users switched away from it, rather than it save its state. Worked ok when a user pressed the physical button, but crashed an ipad on a 5 finger pinch. Removing my kludge stopped the crashing.. Just in case anyone else ever ventures down this path..