1 Star 0 Fork 0

Cribug / ZWSMSSDK

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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. 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 "SMSSDK"
  • Pod "MOBFoundation"

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
  • libstdc++.dylib

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 !

空文件

简介

Private for my project 展开 收起
Objective-C
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Objective-C
1
https://gitee.com/cribug/ZWSMSSDK.git
git@gitee.com:cribug/ZWSMSSDK.git
cribug
ZWSMSSDK
ZWSMSSDK
master

搜索帮助