user973984 user973984 - 1 year ago 131
iOS Question

Obtain Bundle Identifier programmatically

How can I obtain a string of the Bundle Identifier programmatically from within my App?

Answer Source


NSString *bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];


let bundleIdentifier = NSBundle.mainBundle().bundleIdentifier
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download