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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:27:45+00:00 2026-06-11T21:27:45+00:00

I have looked everywhere trying to find the answer to this question, I have

  • 0

I have looked everywhere trying to find the answer to this question, I have a camera screen where you take a photo and the photo then needs to be stored somewhere which then can be later accessed from a tableview.

  • 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-06-11T21:27:46+00:00Added an answer on June 11, 2026 at 9:27 pm

    Storing images captured in a UIImagePickerController in an NSArray is valid.

    You can have something like this:

    /* ViewController.h */
    @interface ViewController : UIViewController <UIImagePickerControllerDelegate>
    
    @property (nonatomic, strong) UIImagePickerController *imagePicker;
    @property (nonatomic, strong) NSMutableArray *photos;
    
    /* ViewController.m */
    @synthesize imagePicker = _imagePicker;
    @synthesize photos = _photos;
    
    // initialize imagePicker
    UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
    imagePicker.delegate = self;
    self.imagePicker = imagePicker;
    
    - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
    {
        UIImage *selectedImage = [info objectForKey:UIImagePickerControllerOriginalImage];
        [self.photos addObject:selectedImage];
    }
    

    EDIT: To view the images from the array in a table view, you can have something like this:

    // I'm assuming you only have 1 section for the table view
    
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
    {
        return [self.photos count];
    }
    
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    {
        // get / instantiate cell
    
        // This will use the default imageView in a UITableViewCell.
        cell.imageView.image = [self.photos objectAtIndex:indexPath.row];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have looked everywhere for the answer to this question, but cannot find anything
I have looked everywhere for this and just cannot find the answer. I have
I have looked everywhere for the answer to this question and while there are
I looked everywhere and can't find an answer to this specific question :( I
I have looked around on Google and StackOverflow for the answer to this question,
I have looked everywhere and surprisingly can't find a good solution to this! I've
I've looked everywhere and I can't find an answer that works. I'm trying to
I have looked almost everywhere trying to find a way to save my android
Ok, I am completely stuck on this. I have looked everywhere for an answer
I have looked everywhere for help on this. I'm new to all this and

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.