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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:54:01+00:00 2026-05-23T07:54:01+00:00

I have made a UIImagePickerController with a custom overlay view in order to enhance

  • 0

I have made a UIImagePickerController with a custom overlay view in order to enhance the interface and it’s working great the first time I load it, it’s perfect.
The problem is that if I dismiss it and then shows it again I have a strange bug. the camera view and the overlay appear behind the NavBar and the TabBar of the previous view controller.

I have try different ways of implementing this but I can’t get this bug solved.

Here is how I call my UIImagePickerController. It’s inspired by this sample code.

[self.cameraOverlayViewController setupImagePicker:UIImagePickerControllerSourceTypeCamera];
[self presentModalViewController:self.cameraOverlayViewController.imagePickerController animated:YES];

Once my picture taken, I dismiss the UIImagePickerController:

[self dismissModalViewControllerAnimated:YES];

Definitly nothing special in the way of implementing it.

And here 2 screenshots:

At first launch

And now taken at second launch:
At second launch http://puic.dev.madebykawet.com/IMG_0929.PNG

Thanks for your answers !

  • 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-23T07:54:01+00:00Added an answer on May 23, 2026 at 7:54 am

    Thanks for your help Peko but it was not that.

    After hours trying stuff, I found out that I needed to launch the UIImagePickerController from the root controller.
    This is maybe because I’m using TTNavigator from the Three20 library.

    So in my case to have this working:

    [[TTNavigator navigator].rootViewController presentModalViewController:self.cameraOverlayViewController.imagePickerController animated:YES];
    

    instead of:

    [self presentModalViewController:self.cameraOverlayViewController.imagePickerController animated:YES];
    

    same thing for dismissModalViewControllerAnimated:

    [[TTNavigator navigator].rootViewController dismissModalViewControllerAnimated:YES];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a custom UserControl i Vb.net (windows application). How can I add
I have made a report that shows transactions in a certain time period for
I have made an application in openCVSharp.It works great. I have made the setup/installer
I have made a codeIgniter application. Its working oh so cool on my local,
I have made a WinForms application with a custom richtextbox control. I am referring
I have made a custom control which consists of a richtextbox and a picture
I made my custom UIImagePickerController camera controls (flash, front/rear, zoom, takepicture and others). My
I have made a custom sort of wrapper for the JQuery's Ajax function and
I have made a map overlay class and have overridden the onTouchEvent method that
I have made a project in NetBeans IDE using a custom library (a .JAR

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.