The common way to find memory leaks is by using Xcode Instruments. All you need is the following:

  • Open Xcode Instruments

  • Choose Leaks option

  • Select Simulator where you are going to test your application

  • Select your installed application

When you finish preparation, you can start immediate recoding and check application for leaks. To do that, you need to open Simulator and try some cases that could cause memory leaks.

After you spend some time trying different scenarios, you can see that Instruments found Leaked Objects.

Another way to find memory leaks is by using Debug Memory Graph in Xcode Debug Area.

Inside Debug Memory Graph, you can find MemoryLeaks section.

MemoryLeaks section displays what objects have strong reference cycles between themselves.

All tools above have opportunity to find and highlight potential issues and help you resolve them.