GSPasswordInputView是一个类似微信支付密码输入视图。
platform :ios, '7.0'
pod 'GSPasswordInputView'
Drag an UIView to your storyboard, set its class to GSPasswordInputView.
That's it!
GSPasswordInputView *pwdInputView = [[GSPasswordInputView alloc] initWithFrame:CGRectMake(0, 0, 160, 40)];
pwdInputView.numberOfDigit = 6;
[self.view addSubview:pwdInputView];
- (void)didFinishEditingWithInputView:(GSPasswordInputView *)anInputView text:(NSString *)aText;
GSPasswordInputView是在MIT许可证下发布的。有关详细信息,请参阅LICENSE。