阅读背景:

在不使用tag属性的情况下处理表视图中的多个UISwitch控件

来源:互联网 

I have a table view controller with multiple UISwitch controls in them. I set the delegate to the table view controller with the same action for all switches. I need to be able to determine what switch was changed, so I create an array of strings that contains the name of each switch. The indexes in the array will be put in the tag property of each UISwitch.I have a table view controller with multiple UI




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: