iOS10 配置須知-b

來源:互聯網
上載者:User

標籤:

在iOS10中,如果你的App想要訪問使用者的相機、相簿、麥克風、通訊錄等等許可權,都需要進行相關的配置,不然會直接crash。
需要在info.plist中添加App需要的一些裝置許可權。

NSBluetoothPeripheralUsageDescription
訪問藍芽

NSCalendarsUsageDescription
訪問日曆

NSCameraUsageDescription
相機

NSPhotoLibraryUsageDescription
相簿

NSContactsUsageDescription
通訊錄

NSLocationAlwaysUsageDescription
始終訪問位置

NSLocationUsageDescription
位置

NSLocationWhenInUseUsageDescription
在使用期間訪問位置

NSMicrophoneUsageDescription
麥克風

NSAppleMusicUsageDescription
訪問媒體資料庫

NSHealthShareUsageDescription
訪問健康分享

NSHealthUpdateUsageDescription
訪問健康更新

NSMotionUsageDescription
訪問運動與健身

NSRemindersUsageDescription
訪問提醒事項

從2017年1月1日起,強制使用https,所有新提交的 app 預設不允許使用NSAllowsArbitraryLoads來繞過ATS的限制 安全傳輸不再支援SSLv3, 建議儘快停用SHA1和3DES演算法



文/子充(簡書作者)
原文連結:http://www.jianshu.com/p/65f21dc5c556
著作權歸作者所有,轉載請聯絡作者獲得授權,並標註“簡書作者”。

iOS10 配置須知-b

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.