Popover size with UINavigationController in Storyboard

前端 未结 1 364
醉酒成梦
醉酒成梦 2020-12-19 13:23

I have created an iPad app containing a popover view embedded in a navigation controller. I like using Storyboard as much as possible, and setting the \"Use Explicit S

相关标签:
1条回答
  • 2020-12-19 13:52

    For the views embedded in the navigation controller, you can change their size in the storyboard by doing the following:

    1. Select the View Controller.
    2. Go to the Attributes Inspector under Simulated Metrics and select Size: Freeform.
    3. Select the View Controller's view.
    4. Go to the Size Inspector and change the width and height.

    After that, the view should be sized correctly in the storyboard.

    Unfortunately I do not know how to change the size of the navigation controller.

    0 讨论(0)
提交回复
热议问题