YouMiSDK FAQ
0 条评论记录有米视频SDK接入的一些问题 断断续续记录中📝
基础流程走 Document 案例
1.在 UNITY3D 5.4.2 这个版本下打包出来的 XCode 工程 需要添加如下
主要的一些问题 FAQ
You’ve implemented -[
application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add “remote-notification” to the list of your supported UIBackgroundModes in your Info.plist.
解决方法:需要传入当前UIViewController,此处使用
UnityGetGLViewController()
来获取当前UNITY3D使用的view.
1 | [UMVideoAd videoPlay:UnityGetGLViewController() videoPlayFinishCallBackBlock:^(BOOL isFinishPlay){ |
- 使用的时候务必判断不同类型的返回值便于处理不同状态。譬如 增加是否有可用广告的判断