You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After accepting the #2435 and merging the c3ce128 into core, the tab icons color have become always blue and we have to harcoded to fix it back.
While we are not able to choose the icon tab color, I suggest we make optional to choose the render between UIImageRenderingModeAutomatic and UIImageRenderingModeAlwaysOriginal.
I'm happy to send a PR with something like:
<TabView rendering="automatic"> or <TabView rendering="alwaysoriginal">
@leocaseiro@DomGaud So basically, if I add a new iOS-specific public property to the TabView class which allows setting the rendering mode everyone will be happy. Is that correct?
changed the title [-]ios: TabView Rendering Mode optional (Automatic/AlwaysOriginal)[/-][+]iOS: TabView.iosIconRenderingMode property[/+]on Nov 4, 2016
/**
* Gets or set the UIImageRenderingMode of the tab icons in iOS.
* Valid values are:
* - automatic
* - alwaysOriginal
* - alwaysTemplate
*/
iosIconRenderingMode: string;
If undefined, it will use UIImageRenderingMode.Automatic.
Activity
DomGaud commentedon Sep 16, 2016
Update: With new version should be able to switch
from automatic
(
var originalRenderedImage = is.ios.imageWithRenderingMode(0);)to alwaysoriginal
(
var originalRenderedImage = is.ios.imageWithRenderingMode(1);)hamorphis commentedon Nov 4, 2016
@leocaseiro @DomGaud So basically, if I add a new iOS-specific public property to the TabView class which allows setting the rendering mode everyone will be happy. Is that correct?
[-]ios: TabView Rendering Mode optional (Automatic/AlwaysOriginal)[/-][+]iOS: TabView.iosIconRenderingMode property[/+][-]iOS: TabView.iosIconRenderingMode property[/-][+]TabView.iosIconRenderingMode property[/+]Add TabView.iosIconRenderingMode property
hamorphis commentedon Nov 4, 2016
If undefined, it will use UIImageRenderingMode.Automatic.
hamorphis commentedon Nov 4, 2016
leocaseiro commentedon Nov 6, 2016
Hi @hamorphis, that's exactly the kind of solution I was expecting for. Perfect!
Thank you so much for that.
DomGaud commentedon Nov 6, 2016
Perfect! Thanks @hamorphis
hamorphis commentedon Nov 7, 2016
@leocaseiro @DomGaud The pull request is merged into the master branch. It will be released with 2.5.0. since we are already in a code-freeze for 2.4.0
leocaseiro commentedon Nov 7, 2016
Thank you so much for that @hamorphis.
I really appreciate it!
DomGaud commentedon Nov 7, 2016
@hamorphis Thank you.
lock commentedon Aug 29, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.