iOS 应用的起步页必须使用png图片
iOS 应用的启动页必须使用png图片
提交应用,被打回来了,邮件描述如下:
提交应用,被打回来了,邮件描述如下:
iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. New iPhone apps and app updates submitted targeting iOS 6 and above must
support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the <basename> portion of the launch image's filename. Launch images must be PNG files and located at the top-level of your bundle, or
provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the iOS
Human Interface Guidelines and iOS
App Programming Guide .
主要原因是没有使用png的图片作为启动页,一直以来Apple都要求用png的图片来作为启动页,但是png相对于jpg来说要大多了,为了减少应用体积,以前的做法是可以通过info.plist的设置来使用jpg的:
现在这种方法已经失效了,编译的时候和以前一样,都是顺利通过的,但当你打包应用,上传到iTunes Connect后,Apple会再次检查,这时候就会被发现没有使用png图片作为启动页,提示Invalid Binary,并通过邮件通知你。
所以,最后还是要老老实实地按照Apple的要求,使用png图片作为启动页…