Hi guys, Im profiling my app and have found that my DialogViewController instances are not being collected. Ive tried forcing a gc with GC.Collect(0) but the view controller, its root and all the elements I add on each iteration are staying in memory and overtime this is building up. Im wrapping this up in a UINavigationController and use PresentModalViewController from my core controller, and dismissing with DismissModalViewControllerAnimated. I dont have any references to the DVC in my code, other than a single instance which gets set to null and replaced with a new DLC every time.
Maybe Im not supposed to be creating a new DialogViewController every time? Are they supposed to be reused?