My application consists of a sqlite db with several tables. Managed via Core Data. I want to generate CSV of the database and mail it to a certain mail address on a button pressed. Any ideas?
Asked
Active
Viewed 2,627 times
1 Answers
6
The answer to exporting csv is located here: How to export Core Data entity to a CSV file
The answer to sending this file then with Mail is located here: pdf as an email attachment in iOS device
Very straight forward! You don't have to save the file to disc, as you can handle it directly to the mailComposer!
Enjoy!