
joywayerandClaude Opus 4.7
a6433d9e95
修复启动图方向:Info.plist 补顶层 UISupportedInterfaceOrientations
Xcode 26 General → Deployment Info UI 只把 orientation 写入带后缀的
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone / _iPad,**没有**
顶层无后缀的 UISupportedInterfaceOrientations。LaunchScreen 阶段 iOS 处于
device idiom 尚未识别的早期窗口,只看顶层无后缀 key —— 缺失时 fallback
到 portrait 渲染再被旋转 90° 适配横屏设备,视觉表现是 splash 内容横躺
在中间一个竖向矩形里。
修复:在 Info.plist 显式补一份无后缀 UISupportedInterfaceOrientations =
landscape。Build 后 .app 内 Info.plist 三个 key(无后缀 + ~iphone +
~ipad)齐全,LaunchScreen 正确按 landscape 渲染。
参考:原 daoqi/msext 用的也是顶层无后缀 key(iOS 9 时代写法)+
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME 自动旋转 portrait 资源;新项目
LaunchScreen.storyboard 没有自动旋转魔法,必须显式补 key。
注:开发期间改 Info.plist orientation 后 Xcode 覆盖安装不会刷 iOS
launch snapshot 缓存,需长按删除 app 重装才能看到新效果;终端用户
不受影响(IPA 首次安装即按当前 Info.plist 渲染)。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-22 03:59:14 +08:00
..
2026-06-22 03:10:53 +08:00
2026-06-22 03:10:53 +08:00
2026-06-22 00:16:55 +08:00
2026-06-22 03:10:53 +08:00
2026-06-21 20:03:33 +08:00
2026-06-22 03:59:14 +08:00
2026-06-22 02:46:11 +08:00
2026-06-21 20:03:33 +08:00