App not being shutdown properly on the iPhone
by Damir Slogar · in iTorque 2D · 04/27/2009 (7:15 am) · 2 replies
onExit() is not called when running on iPhone.
workaround: in iPhoneMain.mm
or you could add oniPhoneWillTerminate in your script code that does whatever onExit does.
workaround: in iPhoneMain.mm
void _iPhoneGameWillTerminate(){
Con::executef( 1, "oniPhoneWillTerminate" );
Con::executef( 1, "onExit" );
}or you could add oniPhoneWillTerminate in your script code that does whatever onExit does.
Torque 3D Owner Mat Valadez
Default Studio Name