防止存折组合在一起

Prevent passbooks group together

我的存折是用户的商店卡,它们具有相同的证书(相同的通行证类型标识)和类别,如本文所述link,但我不希望它们组合在一起,因为它们用于许多不同的商店或企业。任何方法都可以。

对于 storecard 个通行证,防止分组的唯一方法是使用不同的证书。 couponstorecardgeneric 具有相同 passTypeIdentifier 的通行证将始终组合在一起。

对于 eventTicketboardingPass 类型,您可以使用 groupingIdentifier 键将具有相同 passTypeIdentifier 的通行证分成不同的组。

groupingIdentifier | string | Optional for event tickets and boarding passes; otherwise not allowed. Identifier used to group related passes. If a grouping identifier is specified, passes with the same style, pass type identifier, and grouping identifier are displayed as a group. Otherwise, passes are grouped automatically. Use this to group passes that are tightly related, such as the boarding passes for different connections of the same trip. Available in iOS 7.0.

PassKit Package Format Reference