【发布时间】:2013-05-22 08:12:24
【问题描述】:
我想为项目制作自定义 UISwitch。我想更改文本和背景。
为此,我浏览了有关 stack-overflow 的多个帖子。有些只是图像绘制或核心图形绘制。我不想要它们,因为它们还不够。
- Custom UISwitch & App Store approval
- UISwitch - change from on/off to yes/no
- http://www.catamount.com/blog/uicustomswitch-customizing-uiswitch-color-it-change-labels/
但我需要一个代码,足以满足 iOS 4.2 和 iOS 6.0 的需求。
【问题讨论】: