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

  • Home
  • SEARCH
  • 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 8701899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:30:53+00:00 2026-06-13T02:30:53+00:00

I am working on a Vegetable gardening application. Apart from the vegetable name and

  • 0

I am working on a Vegetable gardening application. Apart from the vegetable name and description I also have vegetable image. Currently, I have all the images in the Supported Files folder in the Xcode project.

But later on I want to update the application dynamically without having the user download a new version. When the user updates the application or downloads new data from the server that data will include the images. Can I store those images in the supporting file folder or somewhere where they can be references by just the name.

RELATED QUESTION:

I will also allow the user to take pictures of their vegetables and then write notes about the vegetables like “just planted”, “about to harvest” etc. What is the recommended approach for storing pictures/photos. I can always store them in the user’s photo library and then store the reference in the local database and then fetch and display the picture using the reference. The problem with that approach might be that if the user accidentally deletes the picture from the library then it will no longer be displayed in my application.

The only way I see if to store the picture in the app local database as a BLOB.

  • 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-13T02:30:54+00:00Added an answer on June 13, 2026 at 2:30 am

    No you can’t put the downloaded images with the others inside the supporting file folder. Also I would suggest you put the images inside an Images or Resources folder instead… If you want to download any data after the app is compiled, then they will not be in the bundle. It is the bundle you are referring to when talking about the Supported Files folder in Xcode. This is read only for your application.

    Just to be clear, once compiled, there are no folder structures for your application, these “folders” are just groups in the Xcode project to keep things tidy.

    If you download say a zip file containing a set of images, it’s up to you to write them to disk after you download them. You should put these images in either the tmp, the cache or the documents directory.

    But then you’ll have to build your path before loading the images. You won’t be able to just provide the name of the file such as:

    [UIImage imageNamed:@"something.jpg"];
    

    Because this will look in your bundle. Instead you must do something like this to load your image from the Documents directory for example.

    Your challenge is that you will end up in a state where you’ll have some images in the Bundle (the ones from when you uploaded your app), and the newer ones in the documents directory. You must them check the bundle first and if there is no image there, check the documents directory.


    For user generated data, I suggest also saving the images in the Documents directory, and maintaining an SQLite database of the users data, so you can map an image name to an entry in the database. You don’t want to save the images as BLOB because this will inevitably slow down the performance of your queries and add extra unnecessary load on the CPU to convert to UIImage and back.

    You don’t want to save their images to the gallery for 2 reasons, first this means you’ll be saving in 2 places because keeping a reference in your database to an external image is very fragile and you’re just asking for trouble, and secondly, once the image isn’t under your wing, you don’t control it anymore, the user will delete it at some point, if they go back to your app they expect to see it there.

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

Sidebar

Related Questions

In my free time, I'm working on a risk analysis application. I have already
Working sample using one Table SELECT t.* FROM ( SELECT TITLE.name, (TITLE.value-TITLE.msp) AS Lower,
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB.
Working in iOS 5 I have read a list of file names from my
Working with Reporting Services 2008 r2. So here's my issue: We have 5 reports
Working on game where plates will be falling from top to bottom. Some plates
Working with cakePHP this is my situation: I have Users and Order s. Order
Working on a Windows 8 (metro style) application, and want to reference a service
Working with some basic java apps on CentOS 5 linux and I have my
Working : urlpatterns = patterns('', (r'^$', views.index), (r'^test/$|test/(\d+)/$', views.test_page), (r'^(name)/$', views.index), (r'^(username)/$', views.index), )

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.