Skip to content

Commit 1536412

Browse files
authored
Добавил поддержку ландшафтной ориентации (#290)
1 parent ed700c9 commit 1536412

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

SwiftUI-WorkoutApp.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,8 @@
891891
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
892892
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
893893
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
894-
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
894+
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
895+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
895896
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
896897
LD_RUNPATH_SEARCH_PATHS = (
897898
"$(inherited)",
@@ -943,7 +944,8 @@
943944
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
944945
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
945946
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
946-
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
947+
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
948+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
947949
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
948950
LD_RUNPATH_SEARCH_PATHS = (
949951
"$(inherited)",

0 commit comments

Comments
 (0)