UISwitch 当滑动时候不触发 事件 是因为 触发事件的 controlEvents [self.jkswitch addTarget:self action:@selector(openAction:) forControlEvents:(UIControlEventValueChanged)];

[self.jkswitch addTarget:self action:@selector(openAction:) forControlEvents:(UIControlEventValueChanged)];

posted @ 2018-07-20 18:16  后羿射蛋  阅读(626)  评论(0编辑  收藏  举报