去除语音验证
This commit is contained in:
parent
74b1deeb81
commit
b2dd59a509
|
|
@ -15817,7 +15817,7 @@
|
||||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 2;
|
||||||
DEVELOPMENT_TEAM = WFX8GD5HFX;
|
DEVELOPMENT_TEAM = WFX8GD5HFX;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
ENABLE_TESTABILITY = YES;
|
ENABLE_TESTABILITY = YES;
|
||||||
|
|
@ -15935,7 +15935,7 @@
|
||||||
CODE_SIGN_IDENTITY = "Apple Development";
|
CODE_SIGN_IDENTITY = "Apple Development";
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 1;
|
CURRENT_PROJECT_VERSION = 2;
|
||||||
DEVELOPMENT_TEAM = WFX8GD5HFX;
|
DEVELOPMENT_TEAM = WFX8GD5HFX;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
ENABLE_TESTABILITY = YES;
|
ENABLE_TESTABILITY = YES;
|
||||||
|
|
|
||||||
|
|
@ -273,7 +273,7 @@
|
||||||
dispatch_source_cancel(_timer1);
|
dispatch_source_cancel(_timer1);
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
//设置界面的按钮显示 根据自己需求设置
|
//设置界面的按钮显示 根据自己需求设置
|
||||||
[timeBtn setTitle:@"语音验证码" forState:UIControlStateNormal];
|
[timeBtn setTitle:@"短信验证码" forState:UIControlStateNormal];
|
||||||
timeBtn.userInteractionEnabled = YES;
|
timeBtn.userInteractionEnabled = YES;
|
||||||
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
|
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
|
||||||
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
|
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
|
||||||
|
|
@ -285,7 +285,7 @@
|
||||||
dispatch_source_cancel(_timer1);
|
dispatch_source_cancel(_timer1);
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
//设置界面的按钮显示 根据自己需求设置
|
//设置界面的按钮显示 根据自己需求设置
|
||||||
[timeBtn setTitle:@"语音验证码" forState:UIControlStateNormal];
|
[timeBtn setTitle:@"短信验证码" forState:UIControlStateNormal];
|
||||||
timeBtn.userInteractionEnabled = YES;
|
timeBtn.userInteractionEnabled = YES;
|
||||||
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
|
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
|
||||||
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
|
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
|
||||||
|
|
@ -307,7 +307,7 @@
|
||||||
dispatch_source_cancel(_timer1);
|
dispatch_source_cancel(_timer1);
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
//设置界面的按钮显示 根据自己需求设置
|
//设置界面的按钮显示 根据自己需求设置
|
||||||
// [timeBtn setTitle:@"语音验证码" forState:UIControlStateNormal];
|
[timeBtn setTitle:@"短信验证码" forState:UIControlStateNormal];
|
||||||
timeBtn.userInteractionEnabled = YES;
|
timeBtn.userInteractionEnabled = YES;
|
||||||
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
|
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
|
||||||
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
|
[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) {
|
[SMSSDK getVerificationCodeByMethod:SMSGetCodeMethodVoice phoneNumber:phoneNumber zone:areaCode template:nil result:^(NSError *error) {
|
||||||
|
|
||||||
|
|
@ -367,7 +367,7 @@
|
||||||
dispatch_source_cancel(_timer1);
|
dispatch_source_cancel(_timer1);
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
//设置界面的按钮显示 根据自己需求设置
|
//设置界面的按钮显示 根据自己需求设置
|
||||||
[timeBtn setTitle:@"语音验证码" forState:UIControlStateNormal];
|
[timeBtn setTitle:@"短信验证码" forState:UIControlStateNormal];
|
||||||
timeBtn.userInteractionEnabled = YES;
|
timeBtn.userInteractionEnabled = YES;
|
||||||
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
|
//timeBtn.backgroundColor=COLOR_LABEL_TITLE;
|
||||||
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
|
[timeBtn setBackgroundImage:[UIImage imageNamed:@"registered_icon_validation"] forState:UIControlStateNormal];
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,9 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11762" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
|
||||||
<device id="retina4_7" orientation="portrait">
|
<device id="retina4_7" orientation="portrait" appearance="light"/>
|
||||||
<adaptation id="fullscreen"/>
|
|
||||||
</device>
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="iOS"/>
|
<deployment identifier="iOS"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
|
||||||
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
|
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<objects>
|
<objects>
|
||||||
|
|
@ -48,7 +45,7 @@
|
||||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||||
<textInputTraits key="textInputTraits" keyboardType="numberPad"/>
|
<textInputTraits key="textInputTraits" keyboardType="numberPad"/>
|
||||||
</textField>
|
</textField>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yfz-NH-iVG">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yfz-NH-iVG">
|
||||||
<rect key="frame" x="25" y="191" width="283" height="43"/>
|
<rect key="frame" x="25" y="191" width="283" height="43"/>
|
||||||
<color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
|
|
@ -61,13 +58,13 @@
|
||||||
<action selector="netSteep:" destination="-1" eventType="touchUpInside" id="5Pq-my-RYg"/>
|
<action selector="netSteep:" destination="-1" eventType="touchUpInside" id="5Pq-my-RYg"/>
|
||||||
</connections>
|
</connections>
|
||||||
</button>
|
</button>
|
||||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RMg-xc-HpK">
|
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RMg-xc-HpK">
|
||||||
<rect key="frame" x="216" y="121" width="92" height="42"/>
|
<rect key="frame" x="216" y="121" width="92" height="42"/>
|
||||||
<color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" constant="92" id="xAO-gJ-3i7"/>
|
<constraint firstAttribute="width" constant="92" id="xAO-gJ-3i7"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<state key="normal" title="语音验证码">
|
<state key="normal" title="短信验证码">
|
||||||
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||||
</state>
|
</state>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue