absolutePathForAppBundleWithIdentifier method
NSString?
absolutePathForAppBundleWithIdentifier(
- NSString bundleIdentifier
absolutePathForAppBundleWithIdentifier:
Implementation
objc.NSString? absolutePathForAppBundleWithIdentifier(
objc.NSString bundleIdentifier,
) {
objc.checkOsVersionInternal(
'NSWorkspace.absolutePathForAppBundleWithIdentifier:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
this.ref.pointer,
_sel_absolutePathForAppBundleWithIdentifier_,
bundleIdentifier.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSString.castFromPointer(_ret, retain: true, release: true);
}