UIView changes when iphone application starts from background -


My iphone app has a user form under UIViewController .

When I'm out of the application (go back to the background mode) and start my application again, some UIView changes its position and size (these UIViews depends on the position of the keyboard) Certainly my fault somewhere.

I try to understand that when the application starts from the background again and where UIView <

thanks.

UIViewController's viewDidoad and viewer to view view Practices are dumped from memory every time the scene is seen, something like this happens when the app goes in the background, depending on your code, it is possible that you are storing some status data, which is not clear Happening. If this is the case, you either:

  1. Change your code to better fit the Model-View-Controller pattern so that the status codes and variables are in all controllers. , And you clear your 'visual' singular code and the view eduayup methods (better way), or

  2. clear whatever remains in your application. The application of the WILLEnterBackground method

Comments