简体   繁体   中英

BundleID of an existing app on iOS 8.4.1

Is anybody knows how can I get BundleID of an existing app on iOS 8.4.1?

For example the messages app

Thanks

You cannot get the bundleId of an app other than your app. And there is no reason to do so. Apps are sandboxed on iOS. If you want to interact with another app you can use its urlscheme (if there is one), or its extensions (again if there are any). You can just get the bundleId of your own app programmatically using:

[[NSBundle mainBundle] bundleIdentifier]

Using this you can get the bundle id

NSString *bundleId = [[NSBundle mainBundle] bundleIdentifier];

NSLog("%@",bundleId);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM