ios - Controller not deallocated when popping it -
dealloc
not called in controller b popped nav stack.
ie (very normal) setup:
nav controller has controller root , button tap pushes b on top. button in controller b unwinds controller a. made through storyboard interface in ib (i use custom segue class uses no animation on push). (when using xibs , non-arc) call dealloc in controller b popped. not, in case. normal behaviour of storyboards? or if not, made mistake somewhere, hanging onto controller b. fyi i'm using arc , not explicitly creating controller b anywhere in code.
it alarming because noticed constructor of controller b called each push of (even after going b a). mean b controllers leak.
Comments
Post a Comment