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?
Attention:
If you do a localizations
in your app, you should use the blew code to get the true localized display name:
Bundle.main.object(forInfoDictionaryKey: "CFBundleName") as? String ?? ""
Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String ?? ""
rather than:
Bundle.main.object(forInfoDictionaryKey: kCFBundleNameKey as String) as? String