So, I have a UITextField
subclass which is it\'s own Delegate
and is crashing when keyboard shortcuts are used. It maxes out on CPU
an
I solved this by custom customOverlayContainer and return the textFiled. eg.
@implementation CustomTextField
- (id)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (self) {
self.delegate = self;
}
return self;
}
- (id)customOverlayContainer {
return self;
}
@end
Tested on iOS 7 and iOS 6.