Skip to content

Commit 87bc501

Browse files
committed
feat: support all 4 orientations on iPad to enable window resizing on iPad out-of-the-box
1 parent 5ea66c9 commit 87bc501

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

template/ios/HelloWorld/Info.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,13 @@
4545
<key>UISupportedInterfaceOrientations</key>
4646
<array>
4747
<string>UIInterfaceOrientationPortrait</string>
48+
</array>
49+
<key>UISupportedInterfaceOrientations~ipad</key>
50+
<array>
4851
<string>UIInterfaceOrientationLandscapeLeft</string>
4952
<string>UIInterfaceOrientationLandscapeRight</string>
53+
<string>UIInterfaceOrientationPortrait</string>
54+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
5055
</array>
5156
<key>UIViewControllerBasedStatusBarAppearance</key>
5257
<false/>

0 commit comments

Comments
 (0)