bytepark / auto_orientation

A flutter plugin to programmatically change the orientation and rotate
MIT License
46 stars 47 forks source link

Not working with Ipad #15

Closed xbadal closed 2 years ago

xbadal commented 3 years ago

this plugin does nothing in iPad. i have tested it and got no result.

fbatschi commented 2 years ago

@xbadal do you have more information? what kind of ipad? which iOS? does it work in the simulator or on real hardward for you?

PieterAelse commented 2 years ago

@xbadal any updates on the info? Or did you find any other way to get it working?

Colton127 commented 2 years ago

You cannot control orientation on iPad unless if you specify the app as fullscreen in the info.plist.

info.plist

<key>UIRequiresFullScreen</key>
<true/>

Please see the example in my pull request: https://github.com/bytepark/auto_orientation/pull/26