views:

225

answers:

1

I think lot of people are facing the same problem .

In detail view i.e tapping on cell in main view takes you to the detail when in navigation bar I tapp the back button the viewWillDisAppear is not being called as I want to remove some keyboard hide and show observers .

So what is the way that at the time of view disappearing I assure the viewWillDisAppear will be executed.

+2  A: 

In the case you describe, it certainly sounds like it should be called. My first guess would be that you're not overriding the right function. Make sure the method signature matches exactly (spaces can be ignored, capitalization must match):

- (void) viewWillDisappear:(BOOL)animated {
  //...
Ed Marty
you are absolutely on target I was writing Appear instead of appear .
hib