1

I followed this tutorial to create an app that displays multiple views, however I discovered that I have a memory leak.

http://www.huffingtonpost.com/dulio-denis/ios-quick-read-implementi_4_b_6923788.html

It seems that every time I open the child view, return to the previous view, then open the child view again, the allocated memory will increase critically.

I think this is because the child view has been cached. What is the proper way to avoid memory leaks when creating an app with multiple views?

Vemonus
  • 868
  • 1
  • 16
  • 28
TomSawyer
  • 3,711
  • 6
  • 44
  • 79
  • show us some code. how do you dismiss/close the child views? – Peyman Feb 23 '16 at 17:27
  • All code are in the tutorial. After embed navigation controller to the main view, i have the back button on the navigator on every views. Tap on it and i get back to the main view. – TomSawyer Feb 23 '16 at 17:28

0 Answers0