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: 222

My simple iPhone game has two basic "screens":

  1. home screen (UIViewController subclass)
  2. 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

Related posts about iphone

Related posts about resources