240 发简信
IP属地:上海
  • 设置了旋转的方向, 还是报错BlockError Domain=UISceneErrorDomain Code=101 "None of the requested orientations are supported by the view controller. Requested: landscapeRight; Supported: portrait, portraitUpsideDown" UserInfo={NSLocalizedDescription=None of the requested orientations are supported by the view controller. Requested: landscapeRight; Supported: portrait, portraitUpsideDown},啥原因呢

    iOS16适配 屏幕旋转横屏

    背景 iOS16之前转屏方法setOrientation:, 16之后使用无效.虽然Xcode14/iOS16提供了新的api但还是beta版, 不能直接打包上线, 所以要在...