- (IBaction)switchview6:(id)sender {
information *info = [[Information alloc] initWithNibName:nil bundle nil];
[self presentModalViewController:info animated:YES]; }
然后我得到这个错误:对象的潜在泄漏在线23分配,并存储到“信息”
Potential leak of an object allocated on line 23 and stored into "info"
请我的朋友我怎么解决这个问题?如果它是正确的,你能输入确切的一行吗? 我读了很多我无法理解的话题。
你[在Objective-C内存管理(HTTPS听说过://开发商。 apple.com/library/ios/#documentation/cocoa/conceptual/MemoryMgmt/Articles/mmRules.html#//apple_ref/doc/uid/20000994-BAJHFBGH)?不要要求我们为你写代码。这不是问答论坛。 – 0x8badf00d 2012-03-09 00:09:30