I am working on an application for iPad. This application has some PDF files and some mp4 videos. I have a share icon on the navigation bar. When the user clicks on the share icon it shows option to email or print that particular file. I want to add both email and print facility to all the pdf files and only email facility to all videos. I need help in getting this done. Help with code would be great.
Any help will be highly appreciated.
Regards
PC
How to send email: How can I send mail from an iPhone application
How to print: http://cocoacoding.com/2011/05/01/airprint-tutorial/
How to create an action sheet: http://ykyuen.wordpress.com/2010/04/14/iphone-uiactionsheet-example/
Put it all together: