Crash in iOS 11 in method - (UIButton*)customToolbarButtonImage:(UIImage*)image imageSelected:(UIImage*)selectedImage action:(SEL)action
VishalSharma91 opened this issue · comments
I was getting the crash here when I turn on the property of IDM browser _displayArrowButton = YES
I got down to make change to method
- (UIButton*)customToolbarButtonImage:(UIImage*)image imageSelected:(UIImage*)selectedImage action:(SEL)action
from
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
To
UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem];
and then it worked just fine. What can be the reason?
does anybody face the same thing ?