//发送验证码的按钮方法
-
(void)fasong{
[SMSSDK getVerificationCodeByMethod:SMSGetCodeMethodSMS phoneNumber:NumberTextField.text zone:@“86” result:^(NSError *error) {if (!error) { NSLog(@"发送成功"); } else { NSLog(@"发送失败:///%@",error); }
}];
}
//提交验证码的按钮方法
-
(void)tijiao{
[SMSSDK commitVerificationCode:CodeTextField.text phoneNumber:NumberTextField.text zone:@“86” result:^(NSError *error) {if (!error) { NSLog(@"验证成功"); } else { NSLog(@"验证失败:///%@",error); }
}];
}