Skip to content

thumbHighlightImage is not useful in iOS 10, xib #29

Description

@odyyy

bulid a UIView in xib and change class to TTSwitch
change thumbHighlightImage in swift code
the switch color is not changed

    ttSwitch.thumbImage = #imageLiteral(resourceName: "switch_gray")
    ttSwitch.thumbHighlightImage = #imageLiteral(resourceName: "switch_yellow")
    ttSwitch.overlayImage = #imageLiteral(resourceName: "switch_background")
    ttSwitch.trackImage = #imageLiteral(resourceName: "switch_background")

Activity

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