You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say you set the panel controller's center view controller to be a tab bar controller. I don't want the tab bar controller to rotate. I do that by setting supportedInterfaceOrientations = .portrait. Now let's say you present a modal view controller from the tab bar controller. You should be able to rotate the modal view controller just fine. But the tab bar controller should not be anything other that portrait when you close the modal view controller, even if the phone orientation is landscape.
Issue:
I found an issue where the panel controller does not check the
supportedInterfaceOrientations
property of the centered view controller when rotating. Check out the documentation forsupportedInterfaceOrientations
here: https://developer.apple.com/documentation/uikit/uiviewcontroller/1621435-supportedinterfaceorientationsLet's say you set the panel controller's center view controller to be a tab bar controller. I don't want the tab bar controller to rotate. I do that by setting
supportedInterfaceOrientations = .portrait
. Now let's say you present a modal view controller from the tab bar controller. You should be able to rotate the modal view controller just fine. But the tab bar controller should not be anything other that portrait when you close the modal view controller, even if the phone orientation is landscape.I created a sample project to demonstrate the problem. I'm using the default config in the sample project here: https://github.com/robertcrabtree/FAPanelsRotation. Can you please take a look?
To reproduce:
pod install
Thanks! Let me know if you need me to clarify anything else.
The text was updated successfully, but these errors were encountered: