Users Pricing

forum

home / developersection / forums / why viewwilldisappear or viewdiddisappear not called when app quit in ios simulator?

Why viewWillDisappear or viewDidDisappear not called when app quit in iOS simulator?

Sunil Singh 2559 20 Apr 2015

I'm trying to call removeObserver() when the app quits. But when I used NSLog() to check, I found neither viewWillDisappear() nor viewDidDisappear() was called after the app quit in iOS simulator. I'm using a single view template, not navigation controller in similar questions.


Sunil Singh

Other


1 Answers

Jayden Bell 20 Apr 2015 Accepted Answer