Skip to content

SmallMonster77/LrdAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LrdAlertView

常见的几种APP弹框形式:
演示如下图所示:
演示

使用方法

clone下来的工程里面包含三个文件夹,对应着三种view,使用时需要导入masonry第三方库。
block是当密码输入完成后调用的,text则为你输入的密码。
你可以如下面代码类似去调用它:

- (IBAction)pop:(id)sender {
    LrdPasswordAlertView *testView = [[LrdPasswordAlertView alloc] initWithFrame:self.view.bounds];
    testView.block = ^(NSString *text){
        NSLog(@"调用了block");
    };
    [testView pop];
}

值得注意的是,如果使用CameraView,需要实现UIImagePickerController的代理,详细使用请参考Demo。

喜欢就给颗星呗~

我的博客地址:我的博客

About

常见弹窗视图,方便调用

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published