I have an IOS app with an Azure back-end, and would like to log certain events, like logins and which versions of the app users are running.
How can I return the ver
For Swift 1.2 it's:
let version = NSBundle.mainBundle().infoDictionary!["CFBundleShortVersionString"] as! String let build = NSBundle.mainBundle().infoDictionary!["CFBundleVersion"] as! String