Where is the memory leak in my UITableViewController?

后端 未结 5 645
逝去的感伤
逝去的感伤 2021-01-27 18:00

The table view works fine however when I leave the view and come back to it the second time, I get a memory leak. Probably something in the viewDidLoad just not sure.

I

5条回答
  •  无人共我
    2021-01-27 18:15

    I heard the

    [UIImage imageNamed:@"contact.png"];

    is a memory occurring line. It will create an autorelease object as the returned object. May be that can also be a problem.

提交回复
热议问题