How do I get the application name in Swift?
Googling gave me this:
[[[NSBundle mainBundle] infoDictionary] objectForKey:@\"CFBundleName\"]; >
[[[NSBundle mainBundle] infoDictionary] objectForKey:@\"CFBundleName\"];
Try this one,
let bundleID = NSBundle.mainBundle().bundleIdentifier