Which passes can I access in Apple Wallet

后端 未结 1 793
滥情空心
滥情空心 2021-01-16 09:44

I am new to iOS development and want to work on a small project using the PassKit library.

After a lot of searching (Apple docs, stackoverflow) I just can\'t seem to

相关标签:
1条回答
  • 2021-01-16 10:18

    The simple answer is "No, Your app cannot access passes that it did not create"; this would be a potential privacy violation.

    The more detailed answer is that your app can access passes it did not create as long as the pass type identifiers are specified in the com.apple.developer.pass-type-identifiers entitlement for your app. The purpose of this entitlement is to allow one app to access passes created by another app from the same developer.

    This entitlement can also allow an app to access passes that were added to the wallet through some other method; For example, an airline app could access a pass that was added to the wallet through checking in on the airline's web site.

    The answer to the question in your title is "You can access passes that you created".

    There is no request that an app can make that will result in a request to the user to allow general pass access.

    0 讨论(0)
提交回复
热议问题