1.按照乐视的说明文档把相当的操作都做掉
2.有没有网络访问权限,看plist下面App Transport Security Settings里有没有加Allow Arbitrary Loads=YES
3.看有没有重复引用,如果本来项目中已经引用了AFNetworking和SDWebImage,那么libAFNetworking.a和libSDWebImage.a要删掉。
4.AppDelegate中配置
#import "LeCloudPlayerService.h"- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ........ [LeCloudPlayerService startPlayerService]; return YES;}- (void)applicationDidBecomeActive:(UIApplication *)application { [LeCloudPlayerService startPlayerService];}
5.集成点播功能
6.处理屏幕旋转问题