SAve image in DocumentDirectory And Fatch in TableViewCell

LINKS:-

1)http://stackoverflow.com/questions/15063608/save-image-captured-by-camera-into-documents-directory-in-ios

2)http://stackoverflow.com/questions/19378947/camera-photos-save-in-document-folder-with-name-and-veiw-in-tableveiw-in-iphone

3)http://stackoverflow.com/questions/11590095/ios-help-how-to-use-camera-to-take-picture-and-save-it-on-iphone

4)

Copy to Clip Board

  NSString *str=[[NSStringalloc]init];

        str=[[dataDicobjectForKey:@”BILL_TO”] objectForKey:@”ADDRESS”];

        NSCharacterSet *doNotWant = [NSCharacterSetcharacterSetWithCharactersInString:@”-/:;()$&@\”.,?!\'[]{}#%^*+=_|~<>€£¥•.”];

        str = [[str componentsSeparatedByCharactersInSet: doNotWant] componentsJoinedByString: @””];

        NSLog(@”String is: %@”, str);

      //  str=[str stringByAppendingString:[NSString stringWithFormat:@”\n%@”,[dataDic objectForKey:@”BILL_TO”]]];

        str = [str stringByAppendingString:[NSStringstringWithFormat:@”\n%@”,[[[dataDicobjectForKey:@”BILL_TO”] objectForKey:@”BILL_TO”] objectForKey:@”FIRST”] ]];

        str = [str stringByAppendingString:[NSStringstringWithFormat:@”\n%@”,[[[dataDicobjectForKey:@”BILL_TO”] objectForKey:@”BILL_TO”] objectForKey:@”LAST”] ]];

        str = [str stringByAppendingString:[NSStringstringWithFormat:@”\n%@”,[[dataDicobjectForKey:@”BILL_TO”] objectForKey:@”Company”]]];

        str = [str stringByAppendingString:[NSStringstringWithFormat:@”\n%@”,[[dataDicobjectForKey:@”BILL_TO”] objectForKey:@”PHONE”]]];

        UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];

        pasteboard.string=str;

        NSLog(@”%@”,pasteboard.string);