Why ARC is not deallocating memory after popViewController

前端 未结 9 927
刺人心
刺人心 2021-02-01 02:20

I\'m pushing and popping ViewControllers in UINavigationController.

I\'m tracking the memory consumption of my app. While pushing the new viewController the memory consu

9条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-01 02:52

    Nil the popover on dismiss.

    [menuPopup_ dismissPopoverAnimated:YES];
    menuPopup_ = nil;
    

提交回复
热议问题