Can I create .pkpass dynamically from my iOS app?

纵饮孤独 提交于 2020-03-01 05:56:28

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!