-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
iOS TabView Icon rendering mode set wrong #1148
Copy link
Copy link
Closed
Description
renderingMode on UIImage is a read-only property: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImage_Class/#//apple_ref/occ/instp/UIImage/renderingMode
As a result of this the icon will always be gray on the tab view on iOS.
You guys are trying to set it here, but it doesn't work:
NativeScript/ui/tab-view/tab-view.ios.ts
Line 246 in 79f009f
| is.ios.renderingMode = UIImageRenderingMode.UIImageRenderingModeAlwaysOriginal; |
The correct way is to use imageWithRenderingMode.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels