nativescript orientation device code example
Example 1: nativescript orientation
<activity android:name="com.tns.NativeScriptActivity"
...
android:screenOrientation="portrait">
Example 2: nativescript orientation
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>