Created
October 7, 2014 04:39
-
-
Save gin0606/1613528ebf6ccb8260ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSURL *receiptURL = [[NSBundle mainBundle] appStoreReceiptURL]; | |
NSData *receipt = [NSData dataWithContentsOfURL:receiptURL]; | |
NSString *receiptString = [receipt base64EncodedStringWithOptions:0]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment