IOS7: Pop ViewController forces the UIImageView to drop

后端 未结 2 1909
無奈伤痛
無奈伤痛 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:13

    This might help you..You can try adding UIViewControllerBasedStatusBarAppearance key and set it's value NO in your info.plist

    UIViewControllerBasedStatusBarAppearance = NO
    
    0 讨论(0)
  • 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.

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