问题
I found this answer on stackoverflow which says it is possible to create .pkpass from iOS app but I really didn't find any code or anything to create that.
I also checked on Apple developers page about Passbook and Passes. I know how to create static .pkpass
by using bundle
using this link.
But what I want to do is dynamically create passes from my iOS app. Each passes will have different contents.
I searched everywhere online. Most of the answers are in favor of creating web-server
for generating .pkpass
Any guidance will be appreciated. I am fairly new to iOS development so I might not know obvious things. Thanks.
来源:https://stackoverflow.com/questions/46799081/can-i-create-pkpass-dynamically-from-my-ios-app