Created
July 14, 2022 21:22
-
-
Save calderaro/1612e3b5f241d341d008575ed9ebe76f to your computer and use it in GitHub Desktop.
Obtain bundle identifier programmatically
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
ios swift 3+: | |
``` | |
let bundleID = Bundle.main.bundleIdentifier | |
``` | |
ios objective-c: | |
NSString *bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment