{"id":4254,"date":"2016-10-09T09:27:06","date_gmt":"2016-10-09T01:27:06","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=4254"},"modified":"2016-10-09T09:27:06","modified_gmt":"2016-10-09T01:27:06","slug":"ios%e8%bd%acios-10-%e4%bd%bf%e7%94%a8%e7%9b%b8%e6%9c%ba%e5%8f%8a%e7%9b%b8%e7%b0%bf%e9%97%aa%e9%80%80%e7%9a%84%e9%97%ae%e9%a2%98%e4%bf%ae%e6%ad%a3","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=4254","title":{"rendered":"[iOS][\u8f6c]iOS 10 \u4f7f\u7528\u76f8\u673a\u53ca\u76f8\u7c3f\u95ea\u9000\u7684\u95ee\u9898\u4fee\u6b63"},"content":{"rendered":"<p>\u672c\u6587\u8f6c\u81ea Aone \u7684\u6587\u7ae0\uff1a<a href=\"http:\/\/www.cnblogs.com\/onechen\/p\/5935579.html\">[\u4fee\u6b63] iOS 10 \u4f7f\u7528\u76f8\u673a\u53ca\u76f8\u7c3f\u95ea\u9000\u7684\u95ee\u9898\u4fee\u6b63\u00a0<\/a><\/p>\n<p>iOS 10 \u65b0\u89c4\u5b9a\uff0c\u5728\u53d6\u7528\u76f8\u673a\uff0c\u76f8\u7c3f\uff0c\u8054\u7edc\u8d44\u8baf\uff0c\u9ea6\u514b\u98ce\u9700\u8981\u5728\u00a0Info.plist \u52a0\u5165\u6307\u5b9a\u7684 key\uff0c\u5426\u5219\u95ea\u9000\uff1a<\/p>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/10\/617650-20161007105224614-283952713.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4255\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/10\/617650-20161007105224614-283952713.png\" alt=\"617650-20161007105224614-283952713\" width=\"843\" height=\"727\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/10\/617650-20161007105224614-283952713.png 843w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/10\/617650-20161007105224614-283952713-300x259.png 300w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/10\/617650-20161007105224614-283952713-768x662.png 768w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><\/a><\/p>\n<p>Info.plist<\/p>\n<pre class=\"lang:tex decode:true \">&lt;key&gt;NSPhotoLibraryUsageDescription&lt;\/key&gt;\r\n&lt;string&gt;\u4f7f\u7528\u76f8\u7c3f\u9700\u8981\u60a8\u7684\u540c\u610f&lt;\/string&gt;\r\n\r\n&lt;key&gt;NSCameraUsageDescription&lt;\/key&gt;\r\n&lt;string&gt;\u4f7f\u7528\u76f8\u673a\u9700\u8981\u60a8\u7684\u540c\u610f&lt;\/string&gt;\r\n\r\n&lt;key&gt;NSContactsUsageDescription&lt;\/key&gt;\r\n&lt;string&gt;\u4f7f\u7528\u8054\u7edc\u8d44\u6599\u9700\u8981\u60a8\u7684\u540c\u610f&lt;\/string&gt;\r\n\r\n&lt;key&gt;NSMicrophoneUsageDescription&lt;\/key&gt;\r\n&lt;string&gt;\u4f7f\u7528\u9ea6\u514b\u98ce\u9700\u8981\u60a8\u7684\u540c\u610f&lt;\/string&gt;<\/pre>\n<p>\u3010\u8865\u5145\u3011\u4e0a\u9762\u7684\u9879\u76ee\u5185\u5bb9\u66ff\u6362\u4e3a\u81ea\u5df1\u7684\u5185\u5bb9\u5e76\u4e14\u53ea\u542f\u7528\u76f8\u5e94\u7684\u529f\u80fd\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u8f6c\u81ea Aone \u7684\u6587\u7ae0\uff1a[\u4fee\u6b63] i [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[69,8,602],"tags":[150,652,672],"class_list":["post-4254","post","type-post","status-publish","format-standard","hentry","category-c-builder","category-delphi","category-ios","tag-ios","tag-ttakephotofromcameraaction","tag-ttakephotofromlibrary"],"views":3427,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4254"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4254\/revisions"}],"predecessor-version":[{"id":4256,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/4254\/revisions\/4256"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}