Instance Method

absolutePathForAppBundleWithIdentifier:

Returns the absolute file-system path of an app bundle.

Declaration

- (NSString *)absolutePathForAppBundleWithIdentifier:(NSString *)bundleIdentifier;

Parameters

bundleIdentifier

The bundle identifier string. This value corresponds to the value in the CFBundleIdentifier key of the app’s Info.plist file. For example, the bundle identifier of the TextEdit app is com.apple.TextEdit.

Return Value

The file system path to the app bundle identified by bundleIdentifier, or nil if the bundle cannot be found.

Discussion

It is safe to call this method from any thread of your app.

See Also

Working with Bundles

- launchAppWithBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifier:

Launches the app corresponding to the specified bundleIdentifier.

Deprecated