标签:
-(
void
)setExclusiveTouchForButtons:(UIView *)myView
{
for
(UIView * v in [myView subviews]) {
if
([v isKindOfClass:[UIButton
class
]])
[((UIButton *)v) setExclusiveTouch:YES];
else
if
([v isKindOfClass:[UIView
class
]]){
[self setExclusiveTouchForButtons:v];
}
}
}
iOS 设置所有UIButton的ExclusiveTouch属性为YES
标签:
原文地址:http://www.cnblogs.com/wangxiaorui/p/5181825.html