Skip to content

-[UIView init] must be used from main thread only #29

@mudassir-abbas-brainx

Description

@mudassir-abbas-brainx

initWithTitle is showing UIMainThread issue and app crashes

  • (id)initWithTitle:(NSString *)title message:(NSString *)message delegate:(id)delegate cancelButtonTitle:(NSString *)cancelButtonTitle otherButtonTitles:(NSString *)otherButtonTitles, ...
    {
    self = [super init]; // Error -[UIView init] must be used from main thread only
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions