attributedText
A string of attributed text.
Declaration
@NSCopying var attributedText: NSAttributedString? { get set }Discussion
You cannot change the value of this property once drawing begins for a print job. The delegate method printInteractionControllerWillStartJob(_:) is called immediately before the formatting is set for the job.
Assigning a value to this property also replaces the value in the text property with the same string data, albeit without any formatting information.