iOS16 屏幕旋转

iOS16 强行让屏幕旋转 

UIDevice.current.setValue(UIInterfaceOrientation.landscapeRight.rawValue, forKey: "orientation")

UIViewController.attemptRotationToDeviceOrientation()

你可能感兴趣的:(iOS16 屏幕旋转)