kiss your wallet goodbye
DESCRIPTION
Talk about PassBook implementTRANSCRIPT
[PKPassLibrary isPassLibraryAvailable]
NSArray myPasses = [PKPassLibrary passes];
PKPass myPass = [PKPassLibrary passWithPassTypeIdentifier:[identifierserial] Number:[serialNumber]];
[PKPassLibrary replacePassWithPass:[new pass]]
[PKPassLibrary removePass:[pass]]
12年10月30⽇日星期⼆二
addObserverForName:object:queue:usingBlock:to handle your pass change notification.
UserInfo of the notification describes what changes.
12年10月30⽇日星期⼆二
• CocoaHeads Kaohsiung BookPass Project
• Demo
• http://kaohsiung.cocoaheads.tw/PassBook/
• Open source
• https://github.com/CocoaHeads-Kaohsiung/BookPass
12年10月30⽇日星期⼆二