Allow access to the UIPopoverController used inside UIPrintInteractionController

Originator:steipete
Number:rdar://11118278 Date Originated:26-Mar-2012 03:52 AM
Status:Open Resolved:NO
Product:iOS Product Version:3.2 upwards
Classification:Enhancement Reproducible:Always
 
Summary:

Allow access to the UIPopoverController used inside UIPrintInteractionController and UIDocumentInteractionController - basically all those controllers that can be shown via a UIPopoverController but don't expose that.

The reason is that I use passthroughViews to allow touches in the navigationBar. This works for my custom popovers, but the popovers for printing / document interaction can't be customized that way (at least as long I don't use private API). This is an inconsistency and ultimately a bad experience for my users, who do not care how the system is designed internally. They just see that on "some" popovers they can tap-through, while on others they need to basically double-tap to get to the next popover.

It also makes my internal code way more complicated, as I don't only need to test for my custom popover but also if there maybe is the print or the i interaction controller displayed. It only gets worse with more such custom controllers.

Steps to Reproduce:

Show a UIPrintInteractionController / UIDocumentInteractionController on the iPad. Try to access the UIPopoverController. 

Expected Results:

Allow accessing the UIPopoverController without cruel, ugly hacks such as my workaround here:
https://gist.github.com/2203908

It is quite obvious that they internally use a UIPopoverView and I don't see the reasoning in encapsulating that. While one could also replicate passthroughViews, but there might be more properties one is interested in customizing.

Actual Results:

Regression:

A property called popoverController that allows easy access to the UIPopoverView.

Notes:

I talked to an Apple engineer and he agreed on this :)

Duplicates

Number Status Originator Product Title
rdar://11118633 Duplicate/11118278 cedric.luthi iPad SDK Allow access to the UIPopoverController used inside UIPrintInteractionController

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!