iOS set root view controller wont call viewDidDissapear

Nov 13, 2015 22:18 · 56 words · 1 minute read Development iOS

I noted some behaviour when performing set a root view controller on iOS.

Strangely it wont call the viewDidDissapear method on the viewController that are set the root view controller.

Always please remember to manually unregister all notification of the viewController before performing a set root view controller, or you gonna have to handle multiple notification