Skip to content

iOS TabView Icon rendering mode set wrong #1148

@rclai

Description

@rclai

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:

is.ios.renderingMode = UIImageRenderingMode.UIImageRenderingModeAlwaysOriginal;

The correct way is to use imageWithRenderingMode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions