0

assume view controller 1 is a view controller pushed in a navigation controller ,And I change the frame of the view controller 1 ,but it makes no difference. the view still full of the screen . did anyone knows why

VIRGIL
  • 555
  • 1
  • 4
  • 7
  • 2
    UIViewControllers are intended to be full-screen display only. Pushing one onto the navigation stack means that that view **controller** is now in **control** of the **view**. With the iPad, it is slightly different as there has been introduced classes to split the view into multiple controllers. – CrimsonDiego May 31 '12 at 03:56

1 Answers1

0

@Virgil i did a bit research on your question and found that when we push a view controller onto navigation controller the frame of the view controller is resized . i think this is the reason why we can not change the frame of the view controller's view , for more detailed study refer the documentation here

Singh
  • 2,151
  • 3
  • 15
  • 30