UIActivityViewController > Mail: some elements picking up custom window tint color
UIActivityViewController > Mail: some elements picking up custom window tint color
- Subject: UIActivityViewController > Mail: some elements picking up custom window tint color
- From: Steve Christensen <email@hidden>
- Date: Sat, 26 Sep 2015 14:13:08 -0700
My app sets a custom tint color on the main window as part of its initialization.
Later it creates a UIActivityViewController instance and explicitly set its controller.view's tint color to the blue system tint color before having the root view controller present it. I added this last piece in the iOS 7 or 8 timeframe when I noticed that buttons were appearing in the custom tint color, and it's been working fine. Running on iOS 9.0.1, I noticed that the custom tint is popping up again. Here's what I'm doing and seeing:
• When the activity selector is presented then the Cancel button is system blue.
• When I select Mail as the activity, the message composer's Cancel button is displayed in the custom tint color while the view is animating in, then changes to blue.
• When I tap on the To: field, the caret and + button appear, displayed in the custom tint color. (If I choose Message as the activity then I see the same thing there as well.)
• When I tap the Cancel button for the message then in the confirmation alert, the Save Draft and Cancel buttons are displayed in the custom tint and the Delete Draft button is displayed in its expected red.
Am I missing something?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden