Currently I have a tableview listed with jpg images populated from a server. When i select one of the images the UIActivityController is displayed however there is no option for save to camera roll. The only options are the share to facebook, twitter, mail etc.
I would like it so I can have the option to save the image to the camera roll and also another option to click "view" and it will display it in a new detailed view. I mainly want to be able to save to the camera roll first then work on showing the detailed view.
This is the code i have so far.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath
{
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView
dequeueReusableCellWithIdentifier:CellIdentifier];
NSString *path = [NSString stringWithFormat:@"http://10.1.4.2:8080/DCIM/DCIM/VIDEOS/%@", [movieArray objectAtIndex:indexPath.row]];
NSString *ext = [[path pathExtension] lowercaseString];
if([ext isEqualToString:@"jpg"]) {
UIActivityViewController *objVC = [[UIActivityViewController alloc]initWithActivityItems:[NSArray arrayWithObjects:[NSURL URLWithString:path], nil] applicationActivities:nil];
[self presentViewController:objVC animated:YES completion:nil];
}