lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
244 stars 17 forks source link

30141950: Host apps can interfere with the tint color of extensions they are invoking #16772

Open openradar-mirror opened 7 years ago

openradar-mirror commented 7 years ago

Description

Summary: When a host app configures a views tintColor by setting it through UIAppearance, this also populates in to any extensions this app invokes. With this you can change the look of the UI of out of process views, both for system extensions and 3rd party extensions.

Steps to Reproduce:

Expected Results:

Actual Results:

Regression: This seems to work mit almost all extensions. The only extensions I tried that didn’t suffer from this bug are Microsoft OneNote and Notes. Mail seems to work at first, as the buttons in the bar are blue, but as soon as you tap on ‘Cancel’, the presented action sheet picks up the wrong tint color as well. Another important thing here is: Setting a custom tintColor in the action extension does not fix this issue. I haven’t found any way to override the tint color set from the host app inside my own action extension.

Notes: I am reporting that not because I want to set my tint color like this and than have the extensions look okay, but its more like the other way around. I am working on an Action Extension and I want my tintColor to look okay. With this bug, an Action Extension would basically need to be build in a way that it works with any tint color, even with colors like white.

- Product Version: 10.2 Created: 2017-01-23T10:30:15.652060 Originated: 2017-01-23T11:30:00 Open Radar Link: http://www.openradar.me/30141950

openradar-mirror commented 7 years ago

Modified: 2017-01-24T07:39:49.741280

openradar-mirror commented 7 years ago

Modified: 2017-01-24T07:39:49.741280