Does a hidden UIViewController consume any resources (iPhone)?
Posted
by
MrDatabase
on Stack Overflow
See other posts from Stack Overflow
or by MrDatabase
Published on 2011-01-09T01:30:27Z
Indexed on
2011/01/09
1:54 UTC
Read the original article
Hit count: 254
My simple iPhone game has two basic "screens":
- home screen (UIViewController subclass)
- game screen (UIWindow w/ EAGLLayer where all the OpenGL drawing happens)
Currently when the user taps "Play" on the homescreen the UIViewController is just hidden and the game screen is revealed. When the game is over the homescreen UIViewController is unhidden.
Does the hidden UIViewController consume any resources when it's hidden?
© Stack Overflow or respective owner