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

hydy/PZXVerificationCodeTextField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

PZXVerificationCodeTextField

一个按格分割的验证码或者密码输入控件,可以自定义大小和输入位数以及选中边框颜色等。类似uberAPP的验证码输入功能

效果图1:

image

效果图2:

image

Usage:

 _pzxView = [[PZXVerificationCodeView alloc]initWithFrame:CGRectMake(0, 100, self.view.frame.size.width, 60)];
 _pzxView.selectedColor = [UIColor blackColor];
// _pzxView.deselectColor = [UIColor cyanColor];
 _pzxView.VerificationCodeNum = 4;
// _pzxView.isSecure = YES;
   _pzxView.Spacing = 0;//每个格子间距属性
  [self.view addSubview:_pzxView];

About

一个按格分割的验证码或者密码输入控件,可以自定义大小和输入位数以及选中边框颜色等。类似uberAPP的验证码输入功能

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Objective-C 100.0%

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