Jonathan Jonathan - 1 year ago 72
iOS Question

How to get the name of the running application in iOS

If the application name under the icon on the home screen is "My Awesome App" how do you get that string within the application at runtime?

Answer Source

I’d try

[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];

although presumably you know your own app’s name and can just use it…

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download