-
Notifications
You must be signed in to change notification settings - Fork 204
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
使用actionsheet来添加LeeAddCustomView出现问题 #172
Comments
你可以尝试限制customView的高度达到你想要的效果吧 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
自定义一个table列表,当数据比较多时,按钮会跟着滚动,原因是刚好ATShareEditListView高度多出了50pt,导致按钮跟随滚动
ATShareEditListView *view = [[ATShareEditListView alloc] initWithFrame:CGRectMake(0, 0, kSCREEN_WIDTH, 0) style:UITableViewStylePlain];
[LEEAlert actionsheet].config
.LeeTitle(@"关闭后不显示在分享页面")
.LeeAddCustomView(^(LEECustomView *custom) {
custom.view = view;
})
.LeeHeaderInsets(UIEdgeInsetsMake(10, 0, 0, 0))
.LeeAddAction(^(LEEAction *action) {
action.height = 44;
action.type = LEEActionTypeDefault;
action.title = @"确认";
action.titleColor = [UIColor whiteColor];
action.insets = UIEdgeInsetsMake(6, 16, 6, 16);
action.backgroundColor = UIColor.atMainColor;
action.backgroundHighlightColor = UIColor.atMainColor;
action.cornerRadius = 5.0f;
The text was updated successfully, but these errors were encountered: