I'm facing strange behaviour of my custom view controller subclasses on iOS 5.0. I'm not using standart navigation controllers etc. in my iPad application, but I'm presenting all view controllers myself - this is why I needed to call -viewWillAppear and viewDidAppear methods manually.
Since iOS 5.0, it seems like when adding view controller's view as a subview, these methods are called automatically on view's view controller instance. Which means that these methods are called twice in my case.
Any suggestions? other than creating my own view life-cycle methods and rewriting whole app?
Thanks a lot!