Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 969621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:40:09+00:00 2026-05-16T02:40:09+00:00

I have the following hierarchy in my application: UINavigationController |__ UITabBarController |__ UINavigationController |__

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:40:09+00:00Added an answer on May 16, 2026 at 2:40 am

    OK so for the record after many many hours I found the solution.

    In my rootController UINavigationController I was adding 2 UIViewControllers to the navigation stack and then after the authentication happened I did the following to add my UITabBarController:

    [self.navigationController initWithRootViewController:theTabController];
    

    I was adding the UITabController as the rootViewController in the second UIViewController and the UIImagePickerController doesn’t like this, and when is added subsequently later on in the navigation. It will be dismissed leaving a white screen.

    So instead. I called the root UIViewController of my stack though my appDelegate and added the UITabBarController like this :

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

    Voila this is my solution….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following UI hierarchy Scroll View -->TableLayout-->Rows [each row has TextView+EditText] Problem Inside
In my application, I have the following class hierarchy: class Word { ... }
in my application I use have the following views hierarchy: UIView ----UIScrollView --------TiledView (UIView
I'd like to have the following hierarchy in Doctrine2: - Message - SMS -
I have the following file hierarchy: Lib > MyModule.rb Lib > MyModule.rb > MyClass.rb
Lets say I have the following package Hierarchy: A--> B --> C --> D
Let's say I have the following class hierarchy: TaskViewer inherits from ListViewer<Task> which in
Let's say I have the following class hierarchy in C++: class Base; class Derived1
I have an hierarchy of classes that looks like the following: class Critical {
I have the following directory hierarchy: generated | | -->java Java directory has the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.