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

本文转载至 http://blog.csdn.net/cerastes/article/details/38047425

 

解决方法,将变量

 

[objc] view plaincopy
 
  1. @property  (assign) UILabel *titleView;  

改为

 

 

[objc] view plaincopy
 
  1. @property  (retain) UILabel *titleView;  
posted @ 2015-04-28 16:36  天牛  阅读(298)  评论(0编辑  收藏  举报