1

Simply the idea is the user select image from the photo gallery (done) then it shows in UIImageView (done)

here is the part i am asking for: 1- when user select photo i need to store it name in sqlite DB. 2- later i want to get the photo in another UIImageView from the photo gallery, selecting it by the stored name.

no problem with the database thing, just the name of the image and how to get it from the gallery by name.

Kindly provide me with a solution or workaround.

Thanks.

MahmoudMustafa
  • 144
  • 2
  • 4
  • 14

1 Answers1

0

Mahmoud,

I just finished answering another question that could help you. Also if you just need to store the name you don't need to use SQLite. You could use something lightweight like a PLIST. The link will show you how to do just that. Save the image and store it with a name for later use.

How to save a picture in iOS

Community
  • 1
  • 1
dana0550
  • 1,125
  • 1
  • 9
  • 16