Hi, I have the following hierarchy in my application:
UINavigationController
|__ UITabBarController
|__ UINavigationController
|__ ViewProfilePhotoController (*presentModalViewController:picker is done here)
The problem I have is when I press cancel and dismiss my UIImagePickerController in the ViewProfilePhotoController I get a blank screen with status bar only and not the view that is suppose to show inside the ViewProfilePhotoController (The actual photo).
This behaviour is really strange, because I have tried the same code by taking out the UITabBarController from my application hierarchy and this problem is not present, and everything works as expected. Believe me all the delegates are properly configured in the ViewProfilePhotoController and I have tried to fix it for hours.
I have also check ALL possible configurations within UIImagePickerController, by setting the RIGHT parent view, and nothing has worked so far.
I have also tried to properly cascade - viewWillAppear - viewWillDisappear down the hierarchy and still no luck.
Any insight will be greatly appreciate it . Thanx