Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sheet #46

Closed
YanshuangyingDarker opened this issue Jan 4, 2019 · 3 comments
Closed

sheet #46

YanshuangyingDarker opened this issue Jan 4, 2019 · 3 comments

Comments

@YanshuangyingDarker
Copy link

怎么动态的控制sheet的个数呢?

@YanshuangyingDarker
Copy link
Author

怎么动态的控制sheet的个数呢?

@lixiang1994
Copy link
Owner

是弹出后动态更改吗?

@lixiang1994
Copy link
Owner

类似这样子

- (void)showActionsheet:(NSArray* )actions {
    LEEAlertConfig *actionsheet = [LEEAlert actionsheet];
    LEEAlertConfigModel *config = actionsheet.config;
    
    for (int i = 0; i < actions.count; i++) {
        config.LeeAction(actions[i], ^{
            // 点击事件
        });
    }
    
    config.LeeShow();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants