{"id":211,"date":"2015-08-25T10:47:46","date_gmt":"2015-08-25T02:47:46","guid":{"rendered":"http:\/\/www.yusian.com\/blog\/?p=211"},"modified":"2016-07-15T17:18:17","modified_gmt":"2016-07-15T09:18:17","slug":"ios-4%e5%af%b8%e5%b1%8f%e5%8f%aa%e6%98%be%e7%a4%ba3-5%e5%af%b8%e5%a4%a7%e5%b0%8f%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/analysis\/2015\/08\/25\/104746211.html","title":{"rendered":"ios 4\u5bf8\u5c4f\u53ea\u663e\u793a3.5\u5bf8\u5927\u5c0f\u95ee\u9898"},"content":{"rendered":"<p>1\u3001\u73b0\u8c61\u63cf\u8ff0\uff1a<\/p>\n<p>xcode6 \u65b0\u5efa\u9879\u76ee\uff0c\u5220\u9664storyboard\uff0c\u5220\u9664lunch xib\uff0c\u4ee3\u7801\u521b\u5efawindows\u548crootViewcontrol\uff0c\u80fd\u6b63\u5e38\u8fd0\u884c\uff0c\u4f465s\u7b494\u5bf8\u673a\u578b\u5c4f\u5e55\u4e0a\u90e8\u548c\u4e0b\u90e8\u663e\u793a\u4e3a\u9ed1\u8272\u80cc\u666f\uff0c\u53ea\u6709\u4e2d\u95f4\u4e00\u5757\u4e3a\u53ef\u89c6\u533a\u57df\u3002\u5f53\u7136\uff0c\u72b6\u6001\u680f\u4e5f\u4e00\u540c\u4e0b\u79fb\u3002<\/p>\n<p>2\u3001\u539f\u56e0\u5206\u6790\uff1a<\/p>\n<p>\u9879\u76ee\u4e2d\u6ca1\u67094\u5bf8\u5c4f\u7684\u542f\u52a8\u56fe\u7247\uff0c\u56e0\u6b64\u7cfb\u7edf\u9ed8\u8ba4\u53ea\u9002\u914d3.5\u82f1\u5bf8\u5c4f<\/p>\n<p>3\u3001\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>Taking advantage of the full 4&#8243; screen in your apps seems to be as simple as adding a new Default image named Default-568h@2x.png with size 640 x 1136. Xcode 4.5 will actually offer to do this for you automatically by adding a black image of the proper size and name to your project.<\/p>\n<p>\u610f\u601d\u662f\u8bf4\u5728\u9879\u76ee\u4e2d\u6dfb\u52a0Default.png Default@2x.png Default-568h@2x.png \u8fd9\u4e09\u5f20\u56fe\u7247\uff0c\u5176\u4e2d\u524d\u4e24\u5f20\u4e3a3.5\u5c3a\u5bf8\uff0c\u540e\u9762Default-568h@2x.png\u4e3a4\u5c3a\u5bf8\u5206\u8fa8\u7387\u4e3a640 x 1136<\/p>\n<p>\u5982\u679c\u662fxcode6\u521b\u5efa\u7684\u9879\u76ee\uff0c\u6ce8\u610f\u8981\u5728General&#8212;App Icons and Launch Images \u7684Launch Images Source \u9009\u62e9\u56fe\u7247\u76ee\u5f55\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.yusian.com\/blog\/wp-content\/uploads\/2016\/07\/2.pic_.jpg\" alt=\"2.pic\" width=\"1200\" height=\"256\" class=\"alignnone size-full wp-image-212\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u73b0\u8c61\u63cf\u8ff0\uff1a xcode6 \u65b0\u5efa\u9879\u76ee\uff0c\u5220\u9664storyboard\uff0c\u5220\u9664lunch xib\uff0c\u4ee3\u7801\u521b\u5efawindows\u548crootViewcontrol\uff0c\u80fd\u6b63\u5e38\u8fd0\u884c\uff0c\u4f465s\u7b494\u5bf8\u673a\u578b\u5c4f\u5e55\u4e0a\u90e8\u548c\u4e0b\u90e8\u663e\u793a\u4e3a\u9ed1\u8272\u80cc\u666f\uff0c\u53ea\u6709\u4e2d\u95f4\u4e00\u5757\u4e3a\u53ef\u89c6\u533a\u57df\u3002\u5f53\u7136\uff0c\u72b6\u6001\u680f\u4e5f\u4e00\u540c\u4e0b\u79fb\u3002 2\u3001\u539f\u56e0\u5206\u6790\uff1a \u9879\u76ee\u4e2d\u6ca1\u67094\u5bf8\u5c4f\u7684\u542f\u52a8\u56fe\u7247\uff0c\u56e0\u6b64\u7cfb\u7edf\u9ed8\u8ba4\u53ea\u9002\u914d3.5\u82f1\u5bf8\u5c4f 3\u3001\u89e3\u51b3\u529e\u6cd5\uff1a Taking advantage of the full 4&#8243; screen in your apps seems to be as simple as adding a new Default image named Default-568h@2x.png with size 640 x 1136. Xcode 4.5 will actually offer to do this for you automatically by adding a black image of the proper size [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[20],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-analysis","tag-basics"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}