Contents

isPassLibraryAvailable()

Returns a Boolean value that indicates whether the pass library is available.

Declaration

class func isPassLibraryAvailable() -> Bool

Return Value

true if the pass library is available; otherwise, false.

Discussion

This method exists because the pass library may be unavailable even if the PKPassLibrary class exists.

See Also

Accessing passes