where to store 100s of images in iPad photo app - iphone

i am working on a iPad photo app, where i have to download 100s of images from web and have to store in app locally so that i can access it even if there are no internet connection. So for now i have store it to App's document directory . Is it be ok to store 100s of images in App's Document directory or is there any other way to store it. Please have a reply on it.

Yes you can store it in Document directory.
And also consider its size, if these are big files you can go for zip and save.

Related

How to save photos and videos from iPhone with exif time data?

I want to get my photos and videos from iPhone on my laptop.
I realized, that I am not able to save with on Mac with Photos app (it adds a sequentially name to the photo..)
and with iCloud there is no option to download all photos together. (Apple-prison).
I found the way after a lot of research and probation:
Workaround 1 - iPhone side
On iPhone with Dropbox app you can upload photos and videos to the cloud, and then you can download them anywhere you wish (even with the free version).
Dropbox is clever enough (not like Mac's Photos app...), to use camera time for naming. So your file names will be a timestamp when you have taken the picture OR video AKA Exif data).
Workaround 2 - desktop machine side
You can use Photos app (on Macbooks), because with cable it is obviously faster than uploading to Dropbox through wifi.
But... Photos app is so "old-school", that when you export photos, it will not use your Exif data as filenames, it will create a sequence, like IMG_6033.mov rather..
images, you can use Exif-renamer app (available in the app-store).
It is free, and it can rename all images in a folder to the timestamp from Exif data.
Unfortunately, it can not rename videos..
https://apps.apple.com/us/app/rename-with-exif/id1469032019?mt=12

save profile image inside app using the built in camera

I have an app that contains a profile of the user.
In the profile editing, he has an option to take a photo of himself, then that photo should be saved in his details and be presented in certain places in the app.
Is there a way to internally save an image (not in his phone's photo gallery, but inside the app itself, so he cannot delete the photo through the phone), and then fetch that image every time I need it?
I understand I cannot use CoreData to save images, so I am wondering if there is an easier way to get it done efficiently.
Or must I do that in a server?
not in his phone's photo gallery, but inside the app itself
You can't store anything at runtime "inside the app itself". But the app has a sandbox, a folder area belonging to you alone, where you can store any file you like — in the Documents folder or the Application Support folder, for example. So why not just use that?

iPhone: Saving picture/data to "public" folder?

I want to implement a backup feature in the app I'm working on, that simply puts an image and some data in a folder that can be accessed through itunes or similar.
But is this possible, and what can be done?
Point of the feature is that if (for some reason) the image and data isn't sent to my server, the user will have the ability to extract it to a pc/mac, so that the image and data isn't lost.
Any help is appreciated.
Enabled iTunes file sharing in your app's settings and then write your file to the Documents folder in your app. This will then allow them to see the file through iTunes.

Importing photos saved in ios device's Documents folder to desktop

I'm creating a catalog/collection ios4 application. One element of the app lets the user take a picture which they use for a new item entry. The image they choose is then saved to their app's local Document folder.
I was wondering if it's possible to give the user the ability to import the photos to their desktop when they plug in their ios device. Like how iPhoto lets you import photos from your camera roll when you plug in your device
I've looked around, and all i can seem to find are posts on saving to the documents folder, and then retrieving the data within the app.
Any help would be great.
Thanks Ian
You could use an intermediate web service to transfer the files. Upload them to your service from the device, download them to the desktop.
Apple locks this stuff down pretty tight, so that might be your best bet.

downloading a movie file and placing it in the Videos directory... is that possible

I want to programattically pull a movie file down into a NSData object and write it to iPhone disk in the movies directory so that the user can open up their iPhone iPod section and watch the movies from there... Is that possible?
Or do I need within my app to create a 'viewing' area, download the files to NSHomeDirectory add a folder in Documents and store the data there?
Thanks for any answers...
Assuming an iPhone Store application, this is not do-able, as the Movie directory is not accessible to the sandboxed application.
Of course, you're free to download the movie to a location accessible to your application, and playing the movie inside your application.