两个平台屏幕可转

This commit is contained in:
CaiYanPeng 2021-09-17 18:50:50 +08:00
parent 62e88668e0
commit 18b330fa30
3 changed files with 4 additions and 1 deletions

View File

@ -72,6 +72,10 @@ public static class XCodePostProcessBuild
wxArray.AddString("wechat");
wxArray.AddString("weixinULAPI");
wxArray.AddString("powerfun");
// 设置转向
var orientations = plist.root.CreateArray("UISupportedInterfaceOrientations");
orientations.AddString("UIInterfaceOrientationLandscapeRight");
orientations.AddString("UIInterfaceOrientationLandscapeLeft");
PlistElementDict qxLoc = plist.root.CreateDict("NSLocationWhenInUseUsageDescription");
qxLoc.SetBoolean("NSLocationWhenInUseUsageDescription", true);

View File

@ -3,7 +3,6 @@
<application android:requestLegacyExternalStorage="true">
<activity android:name="com.unityplugins.imageselector.TestMainActivity"
android:theme="@style/UnityThemeSelector"
android:screenOrientation="landscape"
android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:hardwareAccelerated="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />