去除语音验证

This commit is contained in:
kai60
2021-07-14 09:46:50 +08:00
parent 74b1deeb81
commit b2dd59a509
3 changed files with 13 additions and 16 deletions
@@ -273,7 +273,7 @@
dispatch_source_cancel(_timer1);
dispatch_async(dispatch_get_main_queue(), ^{
//设置界面的按钮显示 根据自己需求设置
[timeBtn setTitle:@"语音验证码" forState:UIControlStateNormal];
[timeBtn setTitle:@"短信验证码" forState:UIControlStateNormal];
timeBtn.userInteractionEnabled = YES;
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
@@ -285,7 +285,7 @@
dispatch_source_cancel(_timer1);
dispatch_async(dispatch_get_main_queue(), ^{
//设置界面的按钮显示 根据自己需求设置
[timeBtn setTitle:@"语音验证码" forState:UIControlStateNormal];
[timeBtn setTitle:@"短信验证码" forState:UIControlStateNormal];
timeBtn.userInteractionEnabled = YES;
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
@@ -307,7 +307,7 @@
dispatch_source_cancel(_timer1);
dispatch_async(dispatch_get_main_queue(), ^{
//设置界面的按钮显示 根据自己需求设置
// [timeBtn setTitle:@"语音验证码" forState:UIControlStateNormal];
[timeBtn setTitle:@"短信验证码" forState:UIControlStateNormal];
timeBtn.userInteractionEnabled = YES;
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
@@ -355,7 +355,7 @@
{
[self timerFireWithTimerButton:timeBtn addPhoneNumber:phoneNumber timeBtnFinalTitle:@"语音验证码"];
[self timerFireWithTimerButton:timeBtn addPhoneNumber:phoneNumber timeBtnFinalTitle:@"短信验证码"];
[SMSSDK getVerificationCodeByMethod:SMSGetCodeMethodVoice phoneNumber:phoneNumber zone:areaCode template:nil result:^(NSError *error) {
@@ -367,7 +367,7 @@
dispatch_source_cancel(_timer1);
dispatch_async(dispatch_get_main_queue(), ^{
//设置界面的按钮显示 根据自己需求设置
[timeBtn setTitle:@"语音验证码" forState:UIControlStateNormal];
[timeBtn setTitle:@"短信验证码" forState:UIControlStateNormal];
timeBtn.userInteractionEnabled = YES;
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];