I have 3 view controllers in my iPad app. When the first one appeared, the activity monitor in the tools informed me that the application memory is 25 MB. After calling [self presentModalViewController], a new view controller appeared, the memory capacity increased to 50 MB, and then the third, 70-75 MB.
What is the best view controller memory management for developing an iPad? I always get a Memory Warning now when I'm on a real iPad.
Thanks in advance. I apologize for my English, because it is not my native language. :)
?→ .http://developer.apple.com/library/ios/#documentation/Performance/Conceptual/ManagingMemory/Articles/FindingLeaks.html, , , .
: RUN_CLANG_STATIC_ANALYZER, .
RUN_CLANG_STATIC_ANALYZER
,
iPad 256 , , iPhone 4 .
, . , .
, viewDidUnload . iOS 3.0, , iOS , .
, IBOutlets , (, nib ) . , viewDidLoad.
:
- (void)viewDidUnload { [super viewDidUnload]; // Release any retained subviews of the main view. // e.g. self.myOutlet = nil;
Source: https://habr.com/ru/post/1789253/More articles:Hibernate: сопоставление имен пользовательских столбцов в хранимой процедуре с именем query - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1789249/hgweb-repositories-are-displayed-but-cant-be-accessed&usg=ALkJrhgx1F4bGUUmy0X7RlRmeO5LqH1DoAHow to save datagridview records in a database table? - c #memory leak in system libraries - memory-managementjQuery: Как выбрать следующий элемент с именем-xyz? - jqueryHow do you guarantee that the commit will never be deleted? - gitЧто это за проверка. это проверка iframe? - javascriptIn applications for buying an iPhone simulator, why is it turned off? - iphoneSplitting FlashMessenger messages in the Zend Framework - zend-frameworkRunning 1000+ pages / min in a browser environment - javascriptAll Articles