I'm having a weird issue in regards to how I'm restricting screen orientation.
Here's what my storyboard looks like:
I have screen orientation set to Portrait only.
In my AppDelegate, I have the following:
func application(application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow?) -> UIInterfaceOrientationMask
if self.window?.rootViewController?.presentedViewController is VideoPlayerViewController
In an attempt to remove as much irrelevant code as possible to post a sample code on github for others to help debug, I've found the culprit of my issue.
It is related to
override func prefersStatusBarHidden() in my code, causing the status bar shift and now been resolved.