ios-验证码设置.zip

时间:2022-07-31 12:36:24
【文件属性】:

文件名称:ios-验证码设置.zip

文件大小:132KB

文件格式:ZIP

更新时间:2022-07-31 12:36:24

按钮

自定义Button分类,通过Block回调向服务器发送验证码请求。 使用方法如下: 创建按钮-》设置frame-》添加到当前视图 - (void)initUI { TFSButton* btn = [[TFSButton alloc]initWithFrame:CGRectMake((self.view.bounds.size.widt h - 180)/2, 200, 180, 40) touchBlock:^(TFSButton *btn) { // 向服务器请求验证码 }]; [self.view addSubview:btn]; }


【文件预览】:
验证码按钮
----.git()
--------index(3KB)
--------hooks()
--------config(137B)
--------description(73B)
--------refs()
--------logs()
--------objects()
--------info()
--------.DS_Store(6KB)
--------COMMIT_EDITMSG(15B)
--------HEAD(23B)
----验证码按钮()
--------Assets.xcassets()
--------main.m(340B)
--------AppDelegate.h(283B)
--------AppDelegate.m(2KB)
--------btn_selected.png(1KB)
--------Base.lproj()
--------TFSButton.m(2KB)
--------ViewController.h(221B)
--------Info.plist(1KB)
--------ViewController.m(590B)
--------TFSButton.h(416B)
----.DS_Store(6KB)
----验证码按钮.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(21KB)
--------xcuserdata()
----验证码按钮UITests()
--------Info.plist(733B)
--------_____UITests.m(1KB)
----验证码按钮Tests()
--------_____Tests.m(899B)
--------Info.plist(733B)

网友评论