Friday, July 23, 2010

How to get Application Name with code

Below is how you can get the name of your application with code.

[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleName"]

No comments:

Post a Comment