Created
April 8, 2016 23:59
-
-
Save mitchellporter/a275f7aa388edffe24c7d6886e36e229 to your computer and use it in GitHub Desktop.
Detect if TestFlight user
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
| Objective-C: | |
| [[[[NSBundle mainBundle] appStoreReceiptURL] lastPathComponent] isEqualToString:@"sandboxReceipt"] | |
| Swift: | |
| NSBundle.mainBundle().appStoreReceiptURL?.lastPathComponent == "sandboxReceipt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment