IOS Account Integration (Dynamic)

I want to integrate Passbook into my coupon application.

I followed this guide: http://www.raywenderlich.com/20734/beginning-passbook-part-1

We know that to add a pass, we need to first create a file .pkpass. I can create the file .pkpassmanually to add a passage to the savings book.

I created the file .pkpassby creating,, pass.jsonand signaturethat manifest.json’s it.

But I really doubt: How to create a file .pkpassdynamically - if I have such coupons in the table view (see image), when I click "Add to savings book" ", I have provided the necessary information and will create a file for this cell .pkpass.

How can I do that?

Screen shot

How to create a file .pkpassfor a specific cell when I click the "Add to Savings Book" button?

+4
source share
3 answers

Since passes must be signed using the private key, .pkpass files must be created on the server. In addition, Apple specifies the REST interface that your server must implement to enter and process updates to these passes.

, , , . , , - Apple . , . API, , . , google PassSlot PassKit.

, Apple , -, . ( , ..)

+8

- PKPasses . PKAddPassesViewController .

+1

All Articles