This is a mirror repository for the official Tencent Open API iOS SDK.
To run the example project, clone the repo, and run pod install
from the Example directory first.
- Change the URL schemes of the example target to your App ID, e.g. "tencent123456789"
- Replace the content of
kBXAppID
with your App ID - Run
- iOS 7.0 and later
- ARC
BXTencentOpenAPI is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "BXTencentOpenAPI"
Follow the guide provided by Tencent.
If you're going to use SSO, add the following URL schemes to your Info.plist
file.
<key>LSApplicationQueriesSchemes</key>
<array>
<!-- QQ、Qzone URL Schemes -->
<string>mqqapi</string>
<string>mqq</string>
<string>mqqOpensdkSSoLogin</string>
<string>mqqconnect</string>
<string>mqqopensdkdataline</string>
<string>mqqopensdkgrouptribeshare</string>
<string>mqqopensdkfriend</string>
<string>mqqopensdkapi</string>
<string>mqqopensdkapiV2</string>
<string>mqqopensdkapiV3</string>
<string>mqzoneopensdk</string>
<string>wtloginmqq</string>
<string>wtloginmqq2</string>
<string>mqqwpa</string>
<string>mqzone</string>
<string>mqzonev2</string>
<string>mqzoneshare</string>
<string>wtloginqzone</string>
<string>mqzonewx</string>
<string>mqzoneopensdkapiV2</string>
<string>mqzoneopensdkapi19</string>
<string>mqzoneopensdkapi</string>
<string>mqqbrowser</string>
<string>mttbrowser</string>
<!-- Other URL Schemes in whitelist -->
</array>