Is it possible somehow to code like below in iOS app ?
if(app is live in app store) { //Do something } else { //Do other thing }
I wan
Swift
func isAppStoreBuild() -> Bool { if NSBundle.mainBundle().appStoreReceiptURL != nil { if let _ = NSData(contentsOfURL: NSBundle.mainBundle().appStoreReceiptURL!) { return true } } return false }