两个平台屏幕可转

This commit is contained in:
Caiyanpeng committed 2021-09-17 18:50:50 +08:00
1 parent 62e88668e0
commit 18b330fa30
3 files changed
+4 -1

No files matched your search

+4
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);