In my application, I use an image on Instagram. It works well in my application.
I am using the following code.
@property (nonatomic, retain) UIDocumentInteractionController *dic; CGRect rect = CGRectMake(0 ,0 , 0, 0); UIGraphicsBeginImageContextWithOptions(self.view.bounds.size, self.view.opaque, 0.0); [self.view.layer renderInContext:UIGraphicsGetCurrentContext()]; UIGraphicsEndImageContext(); NSString *jpgPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/test.igo"]; NSURL *igImageHookFile = [[NSURL alloc] initWithString:[[NSString alloc] initWithFormat:@"file://%@", jpgPath]];
Now I also want to share some text with the image.
As the picture below. In the "Create Signature" section, for example, I want a special text by default. "Share this photo."
How can i do this?
Thanks in advance...

Edited
I open Instagram from my image sharing app and it works great.
But is it possible that I can check whether he shared it successfully or not?
So, I want to perform some action in my database when the user successfully shares the image.
How can i do this?
Manthan
source share