3

I am trying to implement a "View in Passbook" functionality in our iOS app. I have been able to use PassKit to instantiate a PKPass object for an existing pass based on its serial number, but is there any way to open up this existing pass in Passbook from our app?

It seems an obvious capability that is strangely omitted from the SDK.

devios1
  • 36,899
  • 45
  • 162
  • 260

1 Answers1

4

You can open the passbook app from your own app using the following:

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

I haven't found a way to open to a specific pass but maybe this is good enough for your purposes.

Asa
  • 1,466
  • 9
  • 27