现在的位置: 首页 > 综合 > 正文

Assigning retained object to unsafe property;object will be released after assignment

2018年02月03日 ⁄ 综合 ⁄ 共 80字 ⁄ 字号 评论关闭

解决方法,将变量

@property  (assign) UILabel *titleView;

改为

@property  (retain) UILabel *titleView;

抱歉!评论已关闭.