ios14.6 The code for rotating the screen does not take effect [UIDevice.currentDevice setValue:@(UIInterfaceOrientationPortrait) forKey:@"orientation"]; Topic: UI Frameworks SubTopic: UIKit Tags: wwdc21-10059 1 0 926 Oct ’21