iDevGames Forums
exit on error - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: exit on error (/thread-1535.html)



exit on error - frozen - Mar 29, 2009 11:25 AM

Hello

Is it possible to quit from my iPhone game when some kind of error occures? E.g. throwing up a message that there is not enough memory and quit.

Thanks,
frozen


exit on error - AnotherJake - Mar 29, 2009 12:13 PM

That is something that Apple does not want you to do on iPhone.


exit on error - frozen - Mar 29, 2009 01:51 PM

Hello

And what apple suggest to do when there is not enough memory for my textures? As i experienced the amount of free memory changes, it does not seems to be a good solution to write my game for the lowest available memory amount. There are much more memory after a reboot.

frozen


exit on error - AnotherJake - Mar 29, 2009 02:22 PM

Apple suggests that you use less memory.

We've all had to deal with it. I started off at like 36 MB and figured out how to cut it down to 14MB or less, with no reported problems.


exit on error - maximile - Mar 29, 2009 04:14 PM

Clusterball had a warning come up every time it ran low on memory in the first version. Practically every other review was a 1 star complaining about this. It spoiled the launch of an otherwise great game.