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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:31:50+00:00 2026-05-31T12:31:50+00:00

Could anyone perhaps tell me how exactly I could get a handle on an

  • 0

Could anyone perhaps tell me how exactly I could get a handle on an image that the user has just taken with the device camera? For instance, when the user captures an image, it is saved to the photo library, but you don’t know the exact name of the image file without going to the photo library an searching for the image. I want to get a handle on the image once it is taken and then pass it to an UIImage so that I could for instance immediately display it to the user.

Thank you

  • 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-31T12:31:51+00:00Added an answer on May 31, 2026 at 12:31 pm

    You have 2 options depending on what method you are using to capture the image.

    If you are using the UIImagePickerController to capture a still image with the UIImagePickerControllerSourceTypeCamera set as the source. You will recieve a call to your DELEGATE when the picture has been taken.

    - (void) imagePickerController: (UIImagePickerController *) picker
    
                didFinishPickingMediaWithInfo: (NSDictionary *) info
    

    Here you can find the picture which you can use to present it directly. (The picture is in the “info” dictionary)

    https://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Articles/TakingPicturesAndMovies.html#//apple_ref/doc/uid/TP40010406

    Check the code on that apple site to see how it is implemented.

    Alternatively method number 2 is by using the AVFoundation Framework. However this requires you to configure much more even though it gives you more freedom to how you can set things.

    At the end of the implementation you will get the picture like this:

     [stillImageOutput captureStillImageAsynchronouslyFromConnection:videoConnection completionHandler:
    
        ^(CMSampleBufferRef imageSampleBuffer, NSError *error) {
    
            CFDictionaryRef exifAttachments =
    
                CMGetAttachment(imageSampleBuffer, kCGImagePropertyExifDictionary, NULL);
    
            if (exifAttachments) {
    
                // Do something with the attachments.
    
            }
    
            // Continue as appropriate.
    
        }];
    

    Here the image is in the imageSamplerBuffer.

    This approach can be found here: https://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/04_MediaCapture.html

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

Sidebar

Related Questions

could anyone tell me the difference between Terminal and non-terminal symbol in the case
Could anyone please tell me why the following line about filter init method invocation
Could anyone tell me what my practical options are for publishing interactive 3D models
Could anyone guide me in created a simple app in JS? What the app
Could anyone please let me know if there is a way to programatically determine
Could anyone explain to me in noob way what the difference is betweeen ImageIcon
Could anyone give me some help with this please? The content needs to appear
Could anyone provide me with the pointers to source code for linux commands such
could anyone please clarify the meaning of line generalizes the tag object's storage of
could anyone assist me with this. I need to compare two beefy xml files

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.