Search Results

Search found 1 results on 1 pages for 'user749918'.

Page 1/1 | 1 

  • MFMailComposeViewController configure mimetype for attachment

    - by user749918
    I need some help. I am trying to attach files to mail using, [mail addAttachmentData:attachmentData mimeType:@"image/png" fileName:fileName]; but the problem is that if i need to send a .jpeg image i need to repeat code just for setting mime type to "mimeType:@"image/jpeg". My question is that is there any general mimeType that can attach any kind of file irrespective of .doc,.ppt,.pdf or an audio or video file. is there any general mimeType: for an kind of attachment. Thanks in advance.

    Read the article

1