views:

9

answers:

0

In my app, I have smaller sections where I want to use the MVC pattern to control these. So for example on one screen I have 3 UIViewController instances with their views visible at the same time.

From what I know, UIViewController is only good for fullscreen usage. Someone said it can occassionally resize it's view without warning, for any reason. There plenty of edge cases where this can happen.

Now, my interface is really tight-coded. There is no room for automatic resizing and messing around with the views by the OS. In -viewDidLoad I set the frame of the view, and then I want this frame to stay intact forever, under any circumstances.

What's the best way to enforce this kind of behavior for an UIViewController? Or must I make my own View Controller in this case to keep using the MVC pattern on a multi-controller screen?