PDF and MFMailComposeViewController
问题 Writing the part of the app that allows the user to generate a pdf and send it. Seems to be working fine. The sent PDF opens fine on the MAC, but on the iPhone it just keeps loading and never opens. Created a pdf document with the help of Ray Wenderlich Tutorial and sent it out through a modal view controller with a instance of an MFMailComposeViewController. WTF am i doing wrong. Update: The PDF also opens fine on the Ipad. Could the problem be somewhere in the code for creating the PDF?