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.
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.
Drag this folder into the project:
Required:
- libz.dylib
- libstdc++.dylib
Show you like this:
In the SMSSDK file ,it contains all the API in the SDK, and here,you can use anyone that you wanted liking this:
[SMSSDK getVerificationCodeByMethod:SMSGetCodeMethodSMS phoneNumber:@"13800138000" zone:@"86" result:^(NSError *error) {
if (!error)
{
// 请求成功
}
else
{
// error
}
}];
[SMSSDK commitVerificationCode:@"1234" phoneNumber:@"13800138000" zone:@"86" result:^(NSError *error) {
if (!error)
{
// 验证成功
}
else
{
// error
}
}];
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。