iOS常見問題(3)

一、發現不少人在給成員變量初始化的時候,容易進錯一個方法去初始化。 1 //注意這個方法只有在內存發生警告的時候纔會調用。 2 - (void)didReceiveMemoryWarning 3 { 4 [super didReceiveMemoryWarning]; 5 // Dispose of any resources that can be recreated.
相關文章
相關標籤/搜索