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 6698223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:33:10+00:00 2026-05-26T06:33:10+00:00

I have a UIImagePickerController, and while it’s loading, I want to display a disclaimer

  • 0

I have a UIImagePickerController, and while it’s loading, I want to display a disclaimer in a modalView.

- (void) viewDidLoad 
{
    self.picker = [[UIImagePickerController alloc] init];
    self.picker.sourceType = UIImagePickerControllerSourceTypeCamera;
    self.picker.cameraCaptureMode = UIImagePickerControllerCameraCaptureModePhoto;
    self.picker.delegate = self;

    [self presentModalViewController:self.picker animated:NO];
    [[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];

    DisclaimerController* disclaimer = [[DisclaimerController alloc] init];  // Loads the Xib inside the init method
    UINavigationController* controller = [[UINavigationController alloc] initWithRootViewController:disclaimer];
    [self.navigationController presentModalViewController:controller animated:YES];
}

But it doesn’t shows up.

And I don’t want to dismiss the picker while the disclaimer is showing or show it later, because there are some treatments that takes some time and the time the user reads the disclaimer would prevent him to wait too long after closing the disclaimer.

  • 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-26T06:33:11+00:00Added an answer on May 26, 2026 at 6:33 am

    I would solve it using an AlertView.

    But if you prefer using your method maybe this will do the trick

    Try this:

    - (void) showModalDisclaimer {
            DisclaimerController* disclaimer = [[DisclaimerController alloc] init];  
            // Loads the Xib inside the init method
            UINavigationController* controller = [[UINavigationController alloc] 
                                              initWithRootViewController:disclaimer];
            [self.picker presentModalViewController:controller animated:YES]; 
            // notice self.picker
    }
    
    - (void) viewDidLoad 
    {
        self.picker = [[UIImagePickerController alloc] init];
        self.picker.sourceType = UIImagePickerControllerSourceTypeCamera;
        self.picker.cameraCaptureMode = UIImagePickerControllerCameraCaptureModePhoto;
        self.picker.delegate = self;
    
        [self presentModalViewController:self.picker animated:NO];
        [[UIApplication sharedApplication] setStatusBarHidden:NO   
                           withAnimation:UIStatusBarAnimationNone];
        [self performSelector:@selector(showModalDisclaimer) withObject:nil afterDelay:0.1];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my image picker is initialized like: self.imgPicker = [[UIImagePickerController alloc] init]; self.imgPicker.allowsEditing = YES;
I have the following code: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] initWithRootViewController:self]; imagePicker.delegate = self;
I have a UIImagePickerController that is shown [self presentModalViewController:self.picker animated:NO]; Then later on the
I have this code: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { [picker dismissModalViewControllerAnimated:YES]; ... }
I have a UIImagePickerController which I use to record video. now i want to
I have an app where I display the photo chooser (UIImagePickerController) but after the
I have a UIImagePickerController as one view in a TabBar setup. Is it possible
I have taken an image from UIImagePickerController , but the file looks too big
I have found a lot of information on using UIImagePickerController to let the user
I have the same problem as the guy here: UIImagePickerController reloads view after its

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.