Created
September 23, 2014 05:27
-
-
Save younthu/70c8449deb34d551f4b7 to your computer and use it in GitHub Desktop.
解决iphone 5上下黑边的问题
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
如果你不幸遇到iphone5上下黑边的问题,别慌。 | |
随便搞一张640 × 1136的图片,命名为Default-568h@2x.png, 拖到工程里面去,不需要在任何地方用它,然后黑边问题就会消失了。 | |
640x1136刚好是iphone的屏幕分辨率。可能是系统自动识别这种图片尺寸,然后自适配iphone5的屏幕了吧。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment