Fast Integrated SMS SDK Validation Development (SMSSDK) in iOS, how to set up a phone verification code in IOS development

Source: Internet
Author: User

[reprint please specify source]

The SDK is someone else's, I just download to integrate.

SMSSDK Download Website: http://www.mob.com/(there are many other sites have similar SDK, such as https://www.juhe.cn/and so on, you can Baidu, I am here to demonstrate the Mob official website)

This website is called SMSSDK free, but in a look ...

Free 20 per day, the maximum registration is only permanent free. Don't say more, start ...

Official website Integrated Document http://wiki.mob.com/

[Step up] I'm on the official document, fool-like operation

[4.1]: First crossing network Description:

[4.2] Look at my project again, in the AppDelegate.h file

[5] Look at the official SDK, notice the property introduction

Look at me and write it.

This verification success, just a small demo, very simple, no official demo so rigorous, the official support voice verification instructions, phone number input is not correct, the verification code two times sent .... Many, interested friends can download their own to see, and also feel that there is no place to welcome the discussion, I also study it ....

--------------------------

I can't seem to see clearly, I make up some source:

-------Wolfhous--------------

Submit Mobile phone number //wolfhous cnblogs Blog , reproduced please indicate the source !!!!

-(ibaction) Clickphone: (ID) Sender {

[smssdk getverificationcodebymethod:smsgetcodemethodsms phonenumber: self. Phone. Text Zone:@ "Customidentifier": nil result: ^ (nserror *error) {< /c6>

if (Error) {

NSLog (@ "Wolfhous submitted mobile phone success %@", error);

}else{

NSLog (@ "Wolfhous submitted mobile phone number success ");

 }

}];

}

// Submit Verification Code // personal website www.houshuai.com

-(ibaction) Clickcode: (ID) Sender {

[smssdk commitverificationcode:self. Code. Text phonenumber:self. Phone. Text Zone:@ "" " result: ^ (nserror *error) {

if (Error) {

NSLog (@ "wolfhous verification code failed %@", error);

}else{

NSLog (@ "Wolfhosu verification Code Success ");

}

}];

}

------------------wolfhous----------------

Quick Integration SMS SDK Validation development in iOS (SMSSDK), how to set up your phone verification code in iOS development

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.