有奖捉虫:行业应用 & 管理与支持文档专题 HOT

配置方法

在调用 SDK 的相关接口前调用如下所示方法进行 License 的设置。
iOS 建议在[AppDelegate application:didFinishLaunchingWithOptions:]中添加:
[TXUGCBase setLicenceURL:LicenceUrl key:Key];
Android 建议在 application 中添加:
TXUGCBase.getInstance().setLicence(context, LicenceUrl, Key);

查看方法

在 License 设置成功后稍等一段时间(依据网络情况而定),可以通过调用以下方法查看 License 信息。
iOS:
NSLog(@"%@", [TXUGCBase getLicenceInfo]);
Android:
TXUGCBase.getInstance().getLicenceInfo(context);
?


http://www.vxiaotou.com