mortenstarck
mortenstarck

Reputation: 2803

Copy images from iPhone to app

Is it possible to copy images from the images iphone library to my app ? Or get the address so i can load it again from the library ?

Upvotes: 1

Views: 811

Answers (2)

poupou
poupou

Reputation: 43543

You can access images, like photos, by either using:

  • UIImagePickerController which allows you to pick an image; or

  • ALAssetLibrary which allows you to enumerate all assets (including images) that are stored on your iPhone. Dimitris has a nice sample (update: link fixed) on how to do this on his excellent blog.

Upvotes: 1

Alex Trott
Alex Trott

Reputation: 4596

@poupou is right you do need to use UIImagePickerController, but i don't think he noticed you wanted help with it on mono touch.

However, I was in a similar situation before and i still have this favorited from a while back. Screen Cast Using UIImagePickerController

I found it very helpful, and if i read your post write, this should be exactly what your looking for.

Upvotes: 1

Related Questions