In UIInterfaceOrientationPortraitUpsideDown, if we push a view controller in navigation controller status bar moves to down side. This problem is happening on iOS 11.x . On iOS 9.x and iOS 10.x it is working fine.

Originator:s.vijayvikram
Number:rdar://40286885 Date Originated:16/05/2018
Status:Open Resolved:
Product:iOS Product Version:11.2
Classification:Bug Reproducible:Always
 
Summary:
In UIInterfaceOrientationPortraitUpsideDown, if we push a view controller in navigation controller status bar moves to down side. This problem is happening on iOS 11.x . On iOS 9.x and iOS 10.x it is working fine.

Steps to Reproduce:
1. Open TestNavigationBar.xcodeproj in Xcode 9.x and run the app on iOS simulator/device having iOS 11.x .
2. Rotate the simulator/device  in upside down (home button upside). In this screen status bar will be at right place. (Device orientation lock should be unlocked) 
3. Click on 'Open Next'. Observe the status bar position. Now status bar moves to bottom of screen.


Expected Results:
Status bar should be at right place in 'upside down orientation' also.

Actual Results:
Status bar moves to bottom of screen. (Attached is status bar_screenshot.png  for reference)

Version/Build:
11.x

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!