Skip to content

tint color on ios not configurable #86

Description

@firegnome

On ios we have the problem, that the tint color of the icon is overwritten. In other words, the icon we use is white but the default tint color of ios overwrites that color. The result looks like this:

image

I added the second line in the fab module to achieve what i want:

newImageView = UIImageView.alloc().initWithImage(iconDrawable.ios);
newImageView.tintColor = (new colorModule.Color("#ffffff")).ios;

image

I can create a pull request to resolve this but i would like to hear from you what solution you would prefer. One solution could be to add a iconTintColor Property for ios.

Activity

  1. bradmartin commented on Dec 4, 2018

    @bradmartin
    Collaborator

    PR gladly accepted. As long as you don't mind documenting on the README that this property is iOS only.

    So document here (https://github.com/bradmartin/nativescript-floatingactionbutton#api)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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