今天在做新浪登录的实验
刚开始直接这样写的代码,去使用,这里的rvc是一个局部的变量,但是这个变量应该是sinaweibo的一个delegate,他需要回调的,我这样写就一直报崩溃,由于没经验不能很快找出为什么
解决办法:将rvc声明成属性:然后再使用,这样的话就保留着了
@property(nonatomic, strong)RegisterViewController *rvc;
dcj3sjt126com 博主文章分类:IOS ©著作权
今天在做新浪登录的实验
刚开始直接这样写的代码,去使用,这里的rvc是一个局部的变量,但是这个变量应该是sinaweibo的一个delegate,他需要回调的,我这样写就一直报崩溃,由于没经验不能很快找出为什么
解决办法:将rvc声明成属性:然后再使用,这样的话就保留着了
@property(nonatomic, strong)RegisterViewController *rvc;
折腾了半天.两个版本.其中一个
2. 解决办法:加上一行代码 list = Array.from(list);Array.from()方法就是将一
一个纯后台人员折腾前端,最近有个地图的小需求。然后去折腾了一把百度地图。其中一个要求就是
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M