Is it possible to recolor iPhone SDK's UISwitch?
I would like to change the blue color of the UISwitch in iPhone SDK to another color but there is not a tintColor pro开发者_StackOverflow社区perty for this control. Is this possible?
Not using the built-in UISwitch
; you'll have to roll your own UIControl
subclass. If you're developing for 3.2 or later, UIPanGestureRecognizer
and UITapGestureRecognizer
are probably your friends; with earlier SDKs, you're gonna be doing a lot of manual touch handling.
精彩评论