PassKit: go to Passbook and select pass

I am trying to implement "View in Passbook" functionality in our iOS app. I was able to use PassKit to instantiate an object PKPass

for an existing pass based on its serial number, but is there a way to open this existing pass in Passbook from our application?

Seems like an obvious feature that's oddly excluded from the SDK.

+3


source to share


1 answer


You can open the savings book app from your own app using the following:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"shoebox://"]];

      



I haven't found a way to open a specific passage, but maybe that's good enough for your purposes.

+4


source







All Articles