Skip to content

Crash in iOS 11 in method - (UIButton*)customToolbarButtonImage:(UIImage*)image imageSelected:(UIImage*)selectedImage action:(SEL)action #307

Open
@VishalSharma91

Description

@VishalSharma91

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions