IOS7: Pop ViewController forces the UIImageView to drop

后端 未结 2 1910
無奈伤痛
無奈伤痛 2021-01-25 05:36

After upgrading my project to iOS7

\"On

when I do a BACK Button and the UINavigationControl

2条回答
  •  生来不讨喜
    2021-01-25 06:31

    You might try setting the new property on UIViewController edgesForExtendedLayout to UIRectEdgeNone.

    Here is a good resource that explains more about how view layouts changed in iOS 7.

    See Apple Documentation

    If you plan to be backwards compatible you will probably need to do some runtime checks and adjust positioning if the device is not running iOS 7.

提交回复
热议问题