iOS16 强行让屏幕旋转
UIDevice.current.setValue(UIInterfaceOrientation.landscapeRight.rawValue, forKey: "orientation")
UIViewController.attemptRotationToDeviceOrientation()
iOS16 强行让屏幕旋转
UIDevice.current.setValue(UIInterfaceOrientation.landscapeRight.rawValue, forKey: "orientation")
UIViewController.attemptRotationToDeviceOrientation()
本文标题:iOS16 屏幕旋转
本文链接:https://www.haomeiwen.com/subject/dunbortx.html
网友评论