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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:17:25+00:00 2026-05-12T09:17:25+00:00

I am simply creating a student management system in iPhone. There I need to

  • 0

I am simply creating a student management system in iPhone.

There I need to store student’s small images,

Which should be appear in tableView,

Ok, I know how to work with tableView…
how to work with database…

But question is

Where to store images
how can we obtain the path of stored images..

Do i have to store entire images to database…

Or

i have to store relative path of image to database…

What is suggested by You masters?

Thanks in advance for helping me.

  • 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-12T09:17:25+00:00Added an answer on May 12, 2026 at 9:17 am

    You can create image files on the file system of the device in the Document directory. Use something like this:

    // Generate a unique user filename
    NSString *imageFilename = [NSString stringWithFormat:@"student_image_%@", uniqueIdentifier];
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *path = [NSString stringWithFormat:@"%@/%@", [paths objectAtIndex:0], imageFilename];
    
    NSData *storage = [image UIImagePNGRepresentation]; // or UIImageJPEGRepresentation
    
    [storage writeToFile:path atomically:NO];
    

    Best Regards,

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

Sidebar

Related Questions

Using MS Access 2007, I am creating a student management database. I have tables
I am just simply creating a web application. I wanted to insert a line
I remember it is possible to stop a website in IIS simply creating a
In InterfaceBuilder, I'm creating the simplest possible UIButton, by simply dragging from the Library
I'm creating a simple tag system that allows me to link a tag to
I wonder if it is possible to make your application multilingual by simply creating
Alright, im trying to understand this, so a class is simply creating a template
I need to make an application for creating logic circuits and seeing the results.
For a homework project, I'm creating a PHP driven website which main function is
What is actually faster? Simply creating a new ArrayList/ArrayCollection or re-using an existing one

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.