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

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

原文地址:https://www.cnblogs.com/Jackie-subDai/p/9343017.html