{"id":3818,"date":"2017-03-18T16:35:02","date_gmt":"2017-03-18T08:35:02","guid":{"rendered":"http:\/\/benjenq.ddns.net\/blog\/%e3%80%90%e7%a2%bc%e8%be%b2%e3%80%91ios10%e7%9a%84%e9%80%9a%e7%9f%a5%e4%b8%ad%e5%bf%83%e8%ae%8a%e6%9b%b4\/"},"modified":"2017-03-18T16:35:02","modified_gmt":"2017-03-18T08:35:02","slug":"%e3%80%90%e7%a2%bc%e8%be%b2%e3%80%91ios10%e7%9a%84%e9%80%9a%e7%9f%a5%e4%b8%ad%e5%bf%83%e8%ae%8a%e6%9b%b4","status":"publish","type":"post","link":"http:\/\/benjenq.ddns.net\/blog\/%e3%80%90%e7%a2%bc%e8%be%b2%e3%80%91ios10%e7%9a%84%e9%80%9a%e7%9f%a5%e4%b8%ad%e5%bf%83%e8%ae%8a%e6%9b%b4\/","title":{"rendered":"\u3010\u78bc\u8fb2\u3011iOS10\u7684\u901a\u77e5\u4e2d\u5fc3\u8b8a\u66f4"},"content":{"rendered":"<p><img decoding=\"async\" title=\"iOS9_10_TodayExtChanged\" src=\"https:\/\/pic.pimg.tw\/benjenq\/1489826137-2869812356.png\" alt=\"iOS9_10_TodayExtChanged\" border=\"0\"><\/p>\n<p>\u6700\u8fd1\u56e0\u70ba\u67d0\u652f\u87a2\u5e55\u9304\u5f71\u7a0b\u5f0f\u5728 iOS 9 \u767c\u751f\u9304\u5f71\u4e0d\u80fd\u7684\u554f\u984c\uff0c\u65bc\u662f\u6390\u4e00\u4e0b\u628a\u624b\u6a5f\u7248\u672c\u5347\u5230 iOS 10\uff0c\u4e00\u5806\u639b\u8f09\u5728\u901a\u77e5\u4e2d\u5fc3\u7684\u5c0f\u5de5\u5177\u90fd\u5f97\u56e0\u61c9\u4fee\u6b63\uff0c\u7136\u5f8c\u5c31\u9677\u5165\u7a0b\u5f0f\u6539\u7248\u7684\u8f2a\u8ff4\u4e86\u3002<\/p>\n<p>\u9996\u5148\u662f iOS 10 \u901a\u77e5\u4e2d\u5fc3\u591a\u4e86\u4e00\u7a2e\u53eb\u505a&nbsp;<span class=\"s1\">NCWidgetDisplayMode&nbsp;<\/span>\u7684\u986f\u793a\u5c6c\u6027\uff0c\u5206\u6210\u5169\u7a2e\uff1a<\/p>\n<ul>\n<li>NCWidgetDisplayModeCompact\uff1a\u7528 Xcode 8 \u91cd\u65b0\u7de8\u8b6f\u4e4b\u5f8c\u9810\u8a2d\u662f\u9019\u7a2e\uff0c\u4e5f\u5c31\u986f\u793a\u7bc4\u570d\u4e0d\u80fd\u8b8a\u52d5\u5927\u5c0f\uff0c\u56e0\u6b64\u672c\u4f86\u8a08\u7b97\u986f\u793a\u5927\u5c0f\u7684\u7a0b\u5f0f\u78bc\uff0c\u5728\u91cd\u7de8\u5f8c\u6703\u5931\u6548\u3002<\/li>\n<li>NCWidgetDisplayModeExpanded\uff1a\u53ef\u4ee5\u900f\u904e\u986f\u793a\u5340\u584a\u53f3\u4e0a\u65b9\u7684\u300c\u986f\u793a\u66f4\u591a\/\u986f\u793a\u66f4\u5c11\u300d\u6309\u9215\u4f86\u5207\u63db\u5927\u5c0f\u3002\u6309\u9215\u53ea\u80fd\u7531\u7528\u6236\u53bb\u9ede\u64ca\uff0c\u958b\u767c\u8005\u7121\u6cd5\u64cd\u63a7\u3002<\/li>\n<\/ul>\n<p>\u63db\u8a00\u4e4b\uff0c\u7a0b\u5f0f\u7528 Xcode 8 \u7de8\u8b6f\u652f\u63f4 iOS 10 \u4e4b\u5f8c\uff0c\u5f97\u52a0\u5165\u9019\u500b\u65b0\u529f\u80fd\uff0c\u5426\u5247\u5168\u90e8\u5167\u5bb9\u4e0d\u6703\u986f\u793a\u51fa\u4f86\u3002<\/p>\n<\/p>\n<p><!-- more -->\u518d\u4f86\u662f\u986f\u793a\u98a8\u683c\u7684\u8b8a\u5316\u3002iOS9 \u662f\u9810\u8a2d\u6697\u8272\u7cfb\uff0ciOS 10 \u662f\u9810\u8a2d\u4eae\u8272\u7cfb\uff0c\u6240\u4ee5\u672c\u4f86\u4ee5 iOS 9 \u9810\u8a2d\u6697\u8272\u7cfb\u8a2d\u8a08\u7684\u98a8\u683c\uff0c\u5982\u5b57\u9ad4\u984f\u8272+\u900f\u660e\u5e95\u5716\u8b93\u534a\u900f\u660e\u80cc\u666f\u900f\u8272\u51fa\u4f86\u7684\u505a\u6cd5\uff0c\u5230\u4e86 iOS 10 \u4e0a\u9762\u5c31\u6703\u5b8c\u5168\u4e0d\u9069\u7528\uff0c\u56e0\u70ba\u5b57\u9ad4\u6703\u88ab\u534a\u900f\u660e\u767d\u8272\u5e95\u5716\u5403\u6389\u3002\u82e5\u8981\u540c\u6642\u5c0d\u61c9 iOS9 \u8ddf iOS 10\uff0c\u5c31\u5f97\u52a0(\u7a0b\u5f0f)\u78bc\u628a\u5169\u7a2e\u98a8\u683c\u6574\u5408\u5728\u4e00\u8d77\u3002<\/p>\n<p>\u73fe\u968e\u6bb5\u652f\u63f4 iOS 9 \u662f\u4e00\u5b9a\u8981\u7684\uff0c\u56e0\u70ba A5 CPU \u7684\u6a5f\u5668\u53ea\u80fd\u5347\u5230 iOS 9\uff0c\u800c A6 CPU \u7684\u6a5f\u5668\uff08iPhone 5\/5c\/iPad 4th\uff09\u5347\u5230 iOS 10 \u5c31\u6703\u8b8a\u66f4\u6162\uff0c\u964d\u5230\u4e0d\u592a\u582a\u7528\u7684\u7a0b\u5ea6\uff0c\u6240\u4ee5\u4e0d\u5c11\u8001\u7528\u6236\u4ecd\u5b88\u5728 iOS 9\u3002<\/p>\n<p>\u8d95\u7dca\u67e5\u4e86\u4e00\u4e0b <a href=\"http:\/\/stackoverflow.com\/questions\/38129047\/what-is-the-height-of-the-new-ios-10-today-widget-extension\" target=\"_blank\">StackOverflow<\/a>\uff0c\u65e9\u6709\u4ed9\u4eba\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u505a\u6cd5\uff0c\u6211\u771f\u662f\u5f8c\u77e5\u5f8c\u89ba&#8230;\u81f3\u65bc\u98a8\u683c\u8ddf\u6574\u5408\u7684\u554f\u984c\uff0c\u53ea\u597d\u8f9b\u82e6\u9ede\uff0c\u518d\u591a\u6253\u4e9b\u5b57\u5224\u65b7 iOS \u7248\u672c\u548c\u98a8\u683c\u8a2d\u5b9a\u56c9\uff01<\/p>\n<p>&nbsp;<\/p>\n<style type=\"text\/css\"><!--\np.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000}\nspan.s1 {font-variant-ligatures: no-common-ligatures}\n--><\/style>\n<style type=\"text\/css\"><!--\np.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000}\nspan.s1 {font-variant-ligatures: no-common-ligatures}\n--><\/style>\n<style type=\"text\/css\"><!--\np.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000}\nspan.s1 {font-variant-ligatures: no-common-ligatures}\n--><\/style>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u56e0\u70ba\u67d0\u652f\u87a2\u5e55\u9304\u5f71\u7a0b\u5f0f\u5728 iOS 9 \u767c\u751f\u9304\u5f71\u4e0d\u80fd\u7684\u554f\u984c\uff0c\u65bc\u662f\u6390\u4e00\u4e0b\u628a\u624b\u6a5f\u7248\u672c\u5347\u5230 iOS 10\uff0c\u4e00\u5806\u639b\u8f09\u5728 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[51],"tags":[],"class_list":["post-3818","post","type-post","status-publish","format-standard","hentry","category-51"],"_links":{"self":[{"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/posts\/3818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/comments?post=3818"}],"version-history":[{"count":0,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/posts\/3818\/revisions"}],"wp:attachment":[{"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/media?parent=3818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/categories?post=3818"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/benjenq.ddns.net\/blog\/wp-json\/wp\/v2\/tags?post=3818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}