iphone - How to send a photo to my app from default iOS Camera app? -



iphone - How to send a photo to my app from default iOS Camera app? -

i know app can read photos saved in ios photo-library; app can save new photo in default ios photo-library. trying accomplish this: default photos app should able send photo ios app, can share photo facebook or send ios mail service app.

i want application listed in screen. note: screenshot of ios6 photo application.

possible!!!

this thing interesting on ios.

you have tell ios kind of files app can open (see pic below)

kind of file app can open set conforms to field (see kinds https://developer.apple.com/library/ios/documentation/miscellaneous/reference/utiref/articles/system-declareduniformtypeidentifiers.html)

this best sample (http://www.raywenderlich.com/1980/email-tutorial-for-ios-how-to-import-and-export-app-data-via-email-in-your-ios-app)

you have implement -application:handleopenurl: in appdelegate

-(bool) application:(uiapplication *)application handleopenurl:(nsurl *)url { //url local url of photo you've chosen, ios copied document folder of app //do want }

================================================

if want see how app (dropbox, googledrive ...) can open kind of files, can see info.plist files

good luck

iphone ios facebook email-attachments photo-gallery

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -