wonday / react-native-orientation-locker

A react-native module that can listen on orientation changing of device, get current orientation, lock to preferred orientation.
MIT License
757 stars 274 forks source link

supported orientations has no common orientation with the application #121

Open ywanhzy opened 4 years ago

ywanhzy commented 4 years ago

1.1.8版本 ios横屏 报这个错误 Android正常 Supported orientations has no common orientation with the application, and [UIAlertController shouldAutorotate] is returning YES

LuisBonsembiante commented 3 years ago

So?

soyouwantme commented 3 years ago

应该是你的组件中使用了Modal,但是没有对Modal进行配置,具体看下面的链接。 It should be that you use modal in your components, but did not configure the modal. See the link below for details.

iOS: Modal not showing in landscape orientation