要完成上面的答案.
在iPhone上添加到-info.plist:
<dict>
`.....
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
..........
</dict>
在Android到AndroidManifest.xml
<activity ........ android:screenorientation="portrait">