iphone - UIImagePickerController source (Camera) when dismissed inside a UITabBarController shows blank screen -


Text after "

I have the following hierarchy in my application:

  UINavigationController | __ UITabBarController | __UINavigationController | __ ViewProfilePhotoController (* presentModalViewController: Picker is here)  

problem I have is when I canceled my UIImagePickerController ViewProfilePhotoController I only dismiss the situation to get a blank screen with the bar Press opinion is that it seems to show inside ViewProfilePhotoController (actual picture).

This behavior is really funny, because I've tried the same code by taking out UITabBarController your application hierarchy and the problem is not present, and serves everything required me All delegates have been properly configured in ViewProfilePhotoController and I believe the hours have tried to fix it.

I have also checked all possible configurations within UIImagePickerController, by setting the correct parent view, and then nothing worked. Hierarchy failed viewWillDisappear down and then try

Any insight would be greatly appreciated - so far

I also tried to fix the waterfall - viewWillAppear .. Thanax

Okay, after so many hours, I got the solution for the record.

my root controller UINavigationController after I add 2 UIViewControllers navigation stack and then certification I have the following to add your UITabBarController:

I UITabController is added was added as rootViewController second UIViewController and UIImagePickerController does not like it, and later in navigation. This will be discarded from a white screen and discarded.

So instead I called UIViewController root of your ads, although I AppDelegate and thus UITabBarController:

  - (minus) authSucceded {[self createTabBarController]; Self.theTabController.view.tag = 2345; [Self.view addSubview: self.theTabController.view]; }  

Voila This is my solution ....


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -