Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thumbHighlightImage is not useful in iOS 10, xib #29

Open
odyyy opened this issue Mar 6, 2017 · 0 comments
Open

thumbHighlightImage is not useful in iOS 10, xib #29

odyyy opened this issue Mar 6, 2017 · 0 comments

Comments

@odyyy
Copy link

odyyy commented Mar 6, 2017

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")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant