init(dictionary:)
Returns a print-information object that is initialized with the data in the passed-in dictionary.
Declaration
init(dictionary: [AnyHashable : Any]?)Parameters
- dictionary:
A dictionary that contains data to initialize the
UIPrintInfoobject with.
Return Value
An instance of UIPrintInfo or nil if the object could not be created.
Discussion
You use the dictionary parameter to initialize a UIPrintInfo object with stored print-job information. Some applications might archive a previous UIPrintInfo object and use that for a future print job with this method.
You can later access the dictionary by calling the dictionaryRepresentation method on the UIPrintInfo object.