[SUIE10001] 登录报错报错currentViewController should be nil
问题描述
登录报错报错currentViewController should be nil
错误日志:
Domain=UMSocialPlatformErrorDomain Code=2003 "(null)" UserInfo={message=currentViewController should be nil or is isKindOfClass UIViewController错误原因:所使用的self不是UIViewController类型
解决方案
在登录部分代码中: [[UMSocialManager defaultManager] getUserInfoWithPlatform:platformType currentViewController:self,把self替换成nil