iphone/ipad实现自定义的开关UISwitch(continuous,clipsToBounds,userInteractionEnabled属性)
这里主要讲几个UIView的几个属性,具体大家可以下载代码看看,下载地址是:http://download.csdn.net/detail/rhljiayou/5960003实现效果是:代码中有设计到几个我不常用的属性:@property(nonatomic,getter=isContinuous)BOOLcontinuous; //ifset,valuechangeeventsare