I want to get an App Identifier within code in Cocoa Framework
Is have any method return App Identifier ?
I think the best approach is to simply do:
NSString *identifier = [[NSBundle mainBundle] bundleIdentifier];
It might internally fetch the key from the dictionary, but looks much cleaner.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With