一个简单的列表选择弹窗用法:MenuAlertViewController *vc = [[MenuAlertViewController alloc]initWithTitleItems:@[@'家庭套餐', @'社区套餐',@'套餐3'] detailsItems:@[@'2017-10-10', @'2019-10-10'] selectImage:@'select_normal' normalImage:@'select_not']; vc.leftBtnTitle = @'取消'; vc.title = @'我是标题'; vc.leftTitleColor = [UIColor redColor]; vc.btnFont = 20; vc.leftBtnBgColor = [UIColor grayColor]; vc.titleFont = 17; vc.titleColor = [UIColor redColor]; // vc.rowTitleFont = 17; // vc.rowDetailFont = 12; // vc.rowTitleColor = [UIColor redColor]; // vc.rowDetailColor = [UIColor redColor]; vc.confirmSelectRowBlock = ^(NSInteger index) { NSLog(@'index: %zd', index); }; [self presentViewController:vc animated:false completion:nil];
github地址:https://github.com/soliloquy-local/ListAlertView.git
,开题报告,开题报告