Ich möchte nur UIInterfaceOrientationLandscapeRight und UIInterfaceOrientationLandscapeLeft unterstützen

Wie stelle ich sicher, dass UIInterfaceOrientationPortraitRight und UIInterfaceOrientationPortraitLeft nicht unterstützt werden.

rundsätzlich möchte ich, dass meine Anwendung NUR in UIInterfaceOrientationLandscapeRight und UIInterfaceOrientationLandscapeLeft verwendet wir

Ich habe die Info.plist-Datei bearbeitet

<string>MainWindow</string>
 <key>UISupportedInterfaceOrientations</key>
 <array>          
      <string>UIInterfaceOrientationLandscapeLeft</string>
      <string>UIInterfaceOrientationLandscapeRight</string>
 </array>

Antworten auf die Frage(1)

Ihre Antwort auf die Frage