Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SmallMonster77/PasswordAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

PasswordAlertView

仿微信支付时的弹窗效果

效果如图:

使用方法

将LrdPasswordAlertView这个文件夹拖入到你的项目中去,并且还需要Masonry这个第三方框架。
block是当密码输入完成后调用的,text则为你输入的密码。
你可以如下面代码类似去调用它:

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

###2016年3月31日日更新 可以自定义标题,字号,label会随着标题的长度而动态增长

效果:

喜欢就给颗星呗~

我的博客地址:我的博客

About

微信支付弹窗,封装好,易调用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /