Handle quit button in STK menu

App store may not like the quit button
This commit is contained in:
Benau
2019-07-16 00:56:38 +08:00
parent 9a62b97a67
commit 05486943b7

View File

@@ -150,6 +150,8 @@ namespace irr
{
override_default_params_for_mobile();
ios_main(0, {});
// App store may not like this
exit(0);
}
- (void)setDevice:(irr::CIrrDeviceiOS*)device