iTofu / LCActionSheet

一款简约而不失强大的 ActionSheet,微博、微信和 QQ 都采用了极其类似的样式,完全支持 Swift。
https://note.leodev.me/LCActionSheet/
MIT License
821 stars 144 forks source link

hey, why exec [actionSheet show]; not show #79

Open boyXiong opened 1 year ago

boyXiong commented 1 year ago

my code:

    LCActionSheet *actionSheet = [LCActionSheet sheetWithTitle:title delegate:self cancelButtonTitle:cancelTitle otherButtonTitles:otherTitle01,otherTitle02, nil];
    actionSheet.titleColor = [UIColor colorWithHexString:XZTheme.Share.grayLeve04];
    actionSheet.buttonColor = [UIColor colorWithHexString:XZTheme.Share.blackLeve03];
    [actionSheet setCancelButtonColor:[UIColor colorWithHexString:XZTheme.Share.grayLeve02]];
    self.actionSheet = actionSheet;
    [actionSheet show];

not show anything

I'm sure in main thread

please fix bug , thank you

you are very good

iTofu commented 1 year ago

may you provide a demo project?