阅读背景:

iPhone:重用UIViewControllers以节省内存

来源:互联网 

what are best pratices to reuse UIViewControllers? In many apps (including Apple's own examples: e.g. SQLiteBooks), UIViewControllers are allocated and initialized everytime, a UIViewController is pushed to the stack. This increases the use of memory with every new controller, because the objects stay in memory and aren't used again.what are best pratices to reuse UIViewControlle




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: