Share image with text in iOS - objective-c

I am making an photo editing app in which I have applied some photo editing effect on selected image and then save image. After that when user press on share button I select image form photo gallery and share it on facebook, whatsapp, wechat, googleplus, instagram etc. Now problem is that I want share image with message.

If you want to add text to an image then load the image in a UIImageView then add a UILabel as a subview. Then render the views into an UIImage. like this
Then to share the image use UIActivityViewController like this

Related

Expo Image editor from ImagePicker API

Exponents ImagePicker API lets you pick an image from your library. After picking an image it opens the image in an image editor that lets you edit the image. Is there any way to skip the image picking part and directly go to the editor screen?
Like I give in an image URI and it opens that image in the image editor screen of expo.
Set allowsEditing={false}. See here for details.
allowsEditing (boolean) -- Whether to show a UI to edit the
image/video after it is picked. Images: On Android the user can crop
and rotate the image and on iOS simply crop it. Videos: On iOS user
can trim the video. Defaults to false.

Can we access Retake image of Default camera

I am new in iOS. I want to know if it is possible to access the retake image button of UIImagePickerController. If so, how do you call a function on that button?
My problem is that I am using UIImagePickerController to take an image from the camera and save the image in the documents directory. I have done my task using a UIImageView and UIAlertView on an other view, but the problem is that I want to save the image before retake image button pressed in camera. What I have to do to achieve this?
You can't do what you want using UIImagePickerController. Instead, use AVFoundation framework for capturing still images in the way you want. Please, check this Apple's sample project http://developer.apple.com/library/ios/#samplecode/AVCam/Introduction/Intro.html.

Open a saved image in camera roll programmatically - iOS

I am able to cature image (using AVFoundation), save image using assets library and save its asset url, open the camera roll programmatically using image picker.
What I want to do is, when I click on the a particular button, the last saved image of the camera roll should show up as if I had opened the camera roll and clicked on that image. I don't want to return the image object back to the program, i just want have a look at the image. And if I swipe on the screen, the camera roll images should scroll.
Also, can I do this using the saved asset url instead of just accessing the last saved image?
Also, If I press cancel there, i might want to return to the camera roll instead of my view controller. Would that be possible?
(I tried to search but i don't think i have the right keywords)
similar question here : Open camera roll on an exact photo
But no answer.

Cropping image into popup?

How to crop an image coming from server into popup? I have image coming from web service and showing it into a popup on a click on a table. I want to add cropping functionality into it. How can I do it??
There are a number of open source image cropping libraries on cocoacontrols.com Here's one that replicates Apple's crop image feature. You can then display the editing view controller in a popover when the user selects the row.

Using UIImagePickerController on the iPad

I'm developing an iPad app for use in-house. It's basically a SplitView based app, with a list of items. The details view contains a navigation controller. When the user selects an item in the rootview, it displays the definition of that item in the details view.
I want them to be able to drill-down into a gallery of images for that item, and be presented with a UI similar to the iPad photos app. Basically thumbnails with the ability to view it at original size and then go back to the thumbnails.
I was looking at using the UIImagePickerController but it looks like you need to use that in a Popover control, is that the case? It also looks like you can also only use it with pictures stored in the photo area on the iPad.
The images I use are downloaded to the iPad at startup, if it makes the whole thing do-able, can I save them into the users photo's area? As an album for each item?
Failing all of that, is there a nice clean, simple solution that would meet my requirements? I've tried using the Three20 solution but couldn't get it to work with my SplitView. Can the OOTB UIImagePickerController do what I need?
Three20 right now is not iPad ready, for your requirement, you can fine-tune Three20 and use it to display the original size images, and then pop-back to view controller which shows the thumbnail images.
I suggest using Three20 in a modal view controller with a pagesheet or formsheet preeentation style.