苹果横屏翻转

This commit is contained in:
Caiyanpeng committed 2021-09-17 20:21:45 +08:00
1 parent f35dea5c6a
commit 9eab7c847b
3 files changed
+104 -6

No files matched your search

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