标签: ios passbook
我可以将我的应用程序的存折添加到apple的app存折中,它运行正常。当我使用函数传递来获取苹果应用程序存折中的存折时,它会返回0,我确定有超过1本存折。
我的代码如下
PKPassLibrary *pkPassLibrary=[[PKPassLibrary alloc]init]; NSArray * arry = [pkPassLibrary passes];