I was wondering how to attach the PDF document that I created for email on iPhone / iPad. I found examples of how to attach an image, but I don't know the mime type for PDF.
Thanks.
Use
[picker addAttachmentData:[NSData dataWithContentsOfFile:Your attachment file] mimeType:@"application/pdf" fileName:@"file name.pdf"];
Greetings
MIME type for PDF must be application/pdf
application/pdf
Source: https://habr.com/ru/post/1336090/More articles:Are these NotePad ++ features available in TextMate? - notepad ++The name of this type of semantic inheritance is inheritanceHow to change button color when pressed in WP7? - c #https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1336088/what-happens-to-the-global-variables-in-shared-library-when-dlclose-is-called-on-it&usg=ALkJrhg4_N-V5cTPpmebJI0ou3OPBF46nQNServiceBus Manager TimeOut Manager - nservicebusOrder and Grouping in Mangoids - mongodbContext switch in interrupt handlers - linuxhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1336093/how-to-write-a-command-line-c-program-that-posts-to-twitter&usg=ALkJrhgcxzOSJjU-XmtoIVyjmI1bL9q0PwAre indexes really needed in a data warehouse? - google-app-engineNSNotification addObserver: someOtherClass - iphoneAll Articles