UISwitch's Category not response touchesBegan method in iOS 10.0.2
Add a Comment
#import "UISwitch+TouchSDK.h"
@implementation UISwitch (TouchSDK)
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
[super touchesBegan:touches withEvent:event];
NSLog(@"UISwitch - touchesBegan");
}
@end
Is it really IOS 10 ? Pretty old one now.
it‘s only not response in iOS 10,I've tested it myself, but it's ok in iOS 9 11 12 13