Giter Site home page Giter Site logo

smssdk-for-ios's Introduction

SMSSDK-For-iOS

SMSSDK is the most popular social SDK for apps and mobile games ! We've already supported over 1000 country or zone in global world until now.中文官网

Current SMSSDK version

  • iOS v3.2.3

中文集成文档


Usage

SMSSDK is the most popular social SDK for apps and mobile games ! We've already supported over 1000 country or zone in global world until now. And also it’s easily to use in your app.now, I will tell you the steps liking this:

If you use cocoaPods ,now ,it's easily to import SMSSDK liking this:

##cocoapods import:

  • main module(necessary)
  • pod "mob_smssdk"

Yeah, you are right,it's over using cocoaPods to import SMSSDK. The next is to import the file's header and use the API of the SMSSDK what you wanted.

Now,tell you the steps of importing SMSSDK manually.

Step1: Download the SDK from here :Download SMSSDK_iOS

When you download the SDK, you will get something liking this:

It’s contain the three parties:

  • SMSSDK. Including static libraries and local files.When used directly to this folder into the project.
  • SMSSDKDemo. Showing the SDK foundation.
  • SMSSDKUI. If you want to use it, drag SMSSDKUI.xcodeproj to your project directly.

Step2:Import the SDK

Drag this folder into the project:

Step3: Add libraries

Required:

  • libz.dylib
  • libc++.dylib (libstdc++.dylib这个库在XCode10之后以libc++替代)

Show you like this:

Step4: config ur appKey and appSerect in the project's infoplist

image

Step5: Using API

In the SMSSDK file ,it contains all the API in the SDK, and here,you can use anyone that you wanted liking this:

  • Get verificationCode
[SMSSDK getVerificationCodeByMethod:SMSGetCodeMethodSMS phoneNumber:@"13800138000" zone:@"86" result:^(NSError *error) {

if (!error)
{
// 请求成功 
}
else
{
// error
}
}];
  • commit
[SMSSDK commitVerificationCode:@"1234" phoneNumber:@"13800138000" zone:@"86" result:^(NSError *error) {

if (!error)
{
// 验证成功
}
else
{
// error
}
}];

If you want to see the chinese document,please click here !

smssdk-for-ios's People

Contributors

liyuansheng avatar 275919229 avatar vhbvb avatar dangerousdon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.