LGAlertView icon indicating copy to clipboard operation
LGAlertView copied to clipboard

Shows black screen after dismiss

Open rahulvyas opened this issue 7 years ago • 2 comments

I have updated to latest release and it breaks the UI. I am stuck at black screen when I press cancel on alertview

Here is my Code

LGAlertView* alertView = [[LGAlertView alloc] initWithViewAndTitle:title message:subtitle style:LGAlertViewStyleAlert view:customView buttonTitles:@[kAlertButtonOk] cancelButtonTitle:kAlertButtonCancel destructiveButtonTitle:nil actionHandler:^(LGAlertView * _Nonnull alertView, NSUInteger index, NSString * _Nullable title) {
        if(okBlock){
            okBlock(YES,self.textViewText);
        }
    } cancelHandler:^(LGAlertView * _Nonnull alertView) {
        if (cancelBlock) {
            cancelBlock(YES);
        }
    } destructiveHandler:^(LGAlertView * _Nonnull alertView) {
        
    }];
    [alertView showAnimated:YES completionHandler:nil];

My app is stucked at black screen. Is there any workaround ? It was working fine in some older version.

rahulvyas avatar May 16 '17 09:05 rahulvyas

same

wyk111wyk avatar Jul 06 '17 02:07 wyk111wyk

Looks like the same problem https://github.com/Friend-LGA/LGAlertView/issues/34

NikKovIos avatar Nov 23 '17 17:11 NikKovIos