Type Property

isPrintingAvailable

Returns a Boolean indicating whether the device supports printing.

Declaration

class var isPrintingAvailable: Bool { get }

Return Value

true if the device supports printing, otherwise false. An application can show or hide any print buttons based on this value.

See Also

Determining Printability

class func canPrint(Data) -> Bool

Returns whether UIKit can print the contents of a data object.

class func canPrint(URL) -> Bool

Returns whether UIKit can print the file referenced by a URL.

class var printableUTIs: Set<String>

Returns a set of the Uniform Type Identifiers for the types of data that UIKit can print.