Created
September 10, 2011 05:36
-
-
Save TonnyXu/1207975 to your computer and use it in GitHub Desktop.
IAP Verification server definication
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
// APPSTORE is a macro defined in AppStore build configuration. | |
// You need to do it yourself. Xcode won't help | |
#ifdef APPSTORE | |
NSString * const verificationURL = @"http://www.yourserver.com/verify?usingSandbox=1"; | |
#else | |
NSString * const verificationURL = @"http://www.yourserver.com/verify?usingSandbox=0"; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment