Skip to content

Commit

Permalink
(ios) Don't pre-fill orientation
Browse files Browse the repository at this point in the history
The orientation is already set on each build, taking into account possible `preference` directives for the `Orientation`. Pre-setting them here, makes it impossible to reduce the array of available orientations, because `config-file` can not reduce the elements in an array.
  • Loading branch information
oliversalzburg authored and dpogue committed Apr 18, 2020
1 parent fca1f3b commit fb49478
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions bin/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,5 @@
<string></string>
<key>UIRequiresFullScreen</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

0 comments on commit fb49478

Please sign in to comment.