Skip to content

LvJianfeng/AlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

自定义弹出view

view 中展示数组数据,单击单选,使用简单,可扩展性强。

git展示

使用

CustomAlertView.hCustomAlertView.m文件Add到你的工程中即可。 Controller中调用

    CustomAlertView *alertView = [[CustomAlertView alloc] initWithListData:languages];
    alertView.tapDoneAction = ^(NSInteger tag){
        if (tag==999) {
            NSLog(@"999:你没有选择啊",tag);
        }else{
            NSLog(@"你选中的数据在数组中下标-->Array[index=%ld]",tag);
        }
    };
    [[UIApplication sharedApplication].delegate.window.rootViewController.view addSubview:alertView];

😂😂😂

About

多行选择框

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published