https://github.com/apestalk/demoinputpasswordview
仿微信支付密码输入框 (A input password alert view like wechat pay.)
https://github.com/apestalk/demoinputpasswordview
objective-c passwords payment wechat
Last synced: 3 months ago
JSON representation
仿微信支付密码输入框 (A input password alert view like wechat pay.)
- Host: GitHub
- URL: https://github.com/apestalk/demoinputpasswordview
- Owner: ApesTalk
- License: mit
- Created: 2015-06-09T03:31:09.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-17T06:12:46.000Z (about 8 years ago)
- Last Synced: 2025-04-01T22:37:11.482Z (3 months ago)
- Topics: objective-c, passwords, payment, wechat
- Language: Objective-C
- Homepage:
- Size: 534 KB
- Stars: 45
- Watchers: 3
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DemoInPutPasswordView
仿微信支付密码输入框的效果其中的文本框使用了第三方库[WTReTextField](https://github.com/pieceofsummer/WTReTextField ) (一个可通过正则表达式限制文本框输入内容的文本框。)
## 使用方法:
- 1.将相关类导入到你的项目中
- 2.添加引用#import "LMPopInputPasswordView.h",实现委托LMPopInputPassViewDelegate
- 3.创建对象并设置委托,弹出视图:
```
LMPopInputPasswordView *popView = [[LMPopInputPasswordView alloc]init];
popView.frame = CGRectMake((self.view.frame.size.width - 250)*0.5, 50, 250, 150);
popView.delegate = self;
[popView pop];
```## 效果图:
