UIPrintInteractionController showsPageRange does nothing

Originator:michaelhochs
Number:rdar://25004601 Date Originated:07-Mar-2016 12:17 PM
Status:Open Resolved:
Product:iOS SDK Product Version:9.2
Classification:UI/Usability Reproducible:Always
 
Changing the value of UIPrintInteractionController's property showsPageRange does nothing.

As long as the document you are trying to print matches the following conditions:
- it has more than one page
- it can show a preview in the print interaction controller
- printItems is nil
- _printState is non-nil
the page range option will always be shown.

There seems to be a simple error in -[UIPrintInteractionController _canShowPageRange] where there is a check if either showsPageRange is YES OR it can show a preview. I guess that should be an AND instead of an OR.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!