iOS友盟三方登陆报{"ret":100030,"msg":"this api without user authorization"}

项目中突然在老设备上(iOS8、iOS9)出现友盟三方登陆授权成功回调后,授权信息(name、photoUrl...)未返回。并且报  {"ret":100030,"msg":"this api without user authorization"} 

后面经过各种试,最后发现是因为调友盟方法的时候

currentViewController对应传的参数设为了self,参照文档应该传nil

你可能感兴趣的:(iOS友盟三方登陆报{"ret":100030,"msg":"this api without user authorization"})