Contents

runningApplications(withBundleIdentifier:)

Returns an array of currently running applications with the specified bundle identifier.

Declaration

class func runningApplications(withBundleIdentifier bundleIdentifier: String) -> [NSRunningApplication]

Parameters

  • bundleIdentifier:

    The bundle identifier.

Mentioned in

Return Value

An array of NSRunningApplications, or an empty array if no applications match the bundle identifier.

See Also

Getting running application instances