使用dispatch_after时,设置了一个比较大的时间,发现退出controller后, dealloc是经历delay的时间值后才释放的。因此,使用可控的定时器比较好。 转载于:https://www.cnblogs.com/sanduanxiansen/p/5756658.html