ios - Save photo to camera roll with specific filename -


what try achieve take photo , let user specify if photo belongs category 1 or category 2. have 2 buttons, 1 each category. when user presses button, photo saved camera roll. afterwards, @ home, when sync ipad iphoto, want able sort category, or @ least identify category belongs...

i first thought of following : 1) taking photo using ipad camera -- done in app 2) saving photo in camera roll under specific name, such cat1_pict123.jpg or cat2_pict456.jpg

i plan use uiimagewritetosavedphotosalbum(myimage, nil, nil, nil ); don't know how / or if possible specify file name ?

alternatively, there way "tag" photo before saving camera roll ? comment or else, visible in iphoto ?

thank help

you can't use file names images saved in photolibrary.

save document directory specific name.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -