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