Advertisement
davezawislak

TestFlight Detection

Jan 26th, 2015
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Here’s a little tip I picked up from Paul Haddad on Twitter. If you want your app to detect whether it’s running on a TestFlight build, this should do the trick:
  2.  
  3. [[[[NSBundle mainBundle] appStoreReceiptURL] lastPathComponent] isEqualToString:@"sandboxReceipt”]
  4.  
  5. via supertop.co
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement