I've got a chat app and I simply want to let the connection manager to leave the current chatroom when the back button on my UINavigationController
is pressed (or the view is left in any other way).
viewWillDisappear:
isn't working for me.
Unlike some others with issues ( UINavigationController and viewWillDisappear for instance) I have what should be a totally textbook view setup - one UINavigationController
, leading into a bunch of subclassed UIViewControllers
connected by segues. What can I do to detect when I leave the chatroom view controller?