-1
我已經使用ARC Xcode 4.5完成了我的應用程序的編碼,但它給了我「接收到的內存警告。」。正因爲如此,我沒有上傳它。iPhone Xcode ARC中的內存警告,但儀器不顯示任何泄漏
當我用儀器測試它時,它沒有顯示任何泄漏,但給出了低內存警告,並且在4-5警告之後應用終止。
我有一些疑問,在評論中有疑問。
@interface TemplateViewController : UIViewController
{
NSMutableArray *arrNames; // is this not need to write?
}
@property (nonatomic, retain) NSMutableArray *arrNames; // is in ARC retain replace by strong ?
@end
或者也許還有其他問題?
尋求答覆,但如果沒有其他應用程序在後臺運行,那麼我也收到內存警告和應用程序終止。 ithink更多組件分配的細節,或者分配錯誤的方式? –