Android like permissions in iOS

后端 未结 2 1396
清歌不尽
清歌不尽 2021-01-04 01:13

In android, you define permissions for gps, sms sending, location , .., in the manifest file. Is there anything similar in the iOS, so the user would know what capabilities

2条回答
  •  迷失自我
    2021-01-04 01:25

    In iOS you declare your application requirements in its manifest-like Info.plist. But this information is not used to ask user permission, only for ensuring device compatibility.

    Only Notifications and Location Services require user permission, which is automatically asked to the user the very first time your application attempt to use the corresponding API.

    My guess is that many other permissions are already granted via the Apple Store license agreement, that the user must have accepted, unlike Android (I guess you can install an app without using the market isnt? which changes a lot from a legal point of view)

提交回复
热议问题