Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to store an image as a profile pic of one user?

Tags:

iphone

I'm beginner of iphone app development.I done an iphone app that it contains registration page,login page and profile using sql database as a saving field.I want to keep a pic as profile pic.I done selecting a pic from already stored pics from simulator.I want to keep that pic as it is when once again if I run that....plz help me...

like image 639
Rajkumar Avatar asked Jun 20 '12 10:06

Rajkumar


1 Answers

You can store the image in Application bundle and can retrieve the image at the time of application load:

Here is a tutorial for you :

http://www.friendlydeveloper.com/2010/02/using-nsfilemanager-to-save-an-image-to-or-loadremove-an-image-from-documents-directory-coding/

like image 138
Rajkumar Avatar answered Oct 20 '22 04:10

Rajkumar