Type Method

printInfoWithDictionary:

Returns a print-information object that is initialized with the data in the passed-in dictionary.

Declaration

+ (UIPrintInfo *)printInfoWithDictionary:(NSDictionary *)dictionary;

Parameters

dictionary

A dictionary that contains data to initialize the UIPrintInfo object 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.

See Also

Creating a UIPrintInfo Object

+ printInfo

Returns a print-information object initialized with default values.

dictionaryRepresentation

Returns a dictionary representation of a print-information object.