iOS - PassBook自动更新

时间:2016-04-04 14:44:46

标签: ios passbook

我创建了一个传递文件并添加到钱包中。我想知道我错过了哪些会在通行证后面显示自动更新选项? 如下图所示:https://dxjl3qy52c1o9.cloudfront.net/wp-content/uploads/2016/03/22080644/ios-apple-wallet-share-526x1024.png

我的传球后面看起来像这个图片: https://support.apple.com/library/content/dam/edam/applecare/images/en_US/iOS/iphone6-ios9-wallet-pass-auto-updates-inshell.jpg

我通过两种方式添加了传递,一种是通过电子邮件手动发送,另一种是在xcode包资源中添加传递文件,并从那里通过代码获取并使用本教程中提到的Passkit框架添加:{{3} }

我是否需要集成服务器才能显示该选项?当我在苹果文档(https://www.captechconsulting.com/blogs/ios-6-tutorial-integrating-passbook-into-your-applications)和其他一些答案中读到某种东西时。

我不是要更新传球,我只是想知道为什么这个选项没有显示在我自己的传球后面。如果有人能澄清这一点,我会非常感激。

1 个答案:

答案 0 :(得分:4)

You simply need to have a webServiceURL and authenticationToken in your pass.json to make the option appear.

For updates to work then you will need to implement the web service protocol on your server.