UIDocumentMenuViewController should support either custom tintColors or UIImages' with UIImageRenderingModeAlwaysOriginal

Originator:rileytestut
Number:rdar://18081519 Date Originated:Wed, 20 Aug 2014 22:31:27 GMT
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8
Classification:Feature (New) Reproducible:Always
 
Summary:
We have a custom tint color throughout our app. However, when we present the UIDocumentMenuViewController, we cannot change the color of the images added with our custom options (added by addOptionWithTitle:image:order:handler:). We tried compensating for this by manually changing the colors of the images themselves and setting them to render with UIImageRenderingModeAlwaysOriginal, but it seems UIDocumentMenuViewController ignores this setting.

Steps to Reproduce:
1) Create a UIDocumentMenuViewController
2) Add an option with a custom image via addOptionWithTitle:image:order:handler: (and optionally make the UIImage render with UIImageRenderingModeAlwaysOriginal)
4) If UIImage is not UIImageRenderingModeAlwaysOriginal, manually set the tintColor of the UIDocumentMenuViewController’s view to something other than blue.
3) Present UIDocumentMenuViewController

Expected Results:
Either the tint color changes the color of the images in the UIDocumentMenuViewController, or the images preserve their original colors when set with a rendering mode of UIImageRenderingModeAlwaysOriginal.

Actual Results:
All images are rendered as templates regardless of renderingMode, and also are always rendered with the same blue tint.

Version:
iOS 8

Notes:
We are able to change the color of the Cancel button, but that’s about it. It just doesn’t fit in with the rest of our application without the same tint color.

Configuration:
iPhone 5, 5s, Simulator

Attachments:

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!