rob-miller / rTracker-swift

rTracker development continued in Swift from version 4.0.0
https://janerob.com/rTracker/rTracker/iPhone/pages/rTracker-main.html
Other
3 stars 0 forks source link

No E-mail export option; make use of the share sheet? #2

Closed koenraijer closed 5 months ago

koenraijer commented 5 months ago

WhatsApp Image 2024-03-05 at 09 11 29

It would perhaps be quite accessible to make use of the share sheet, like they're doing here: https://stackoverflow.com/questions/35851118/how-do-i-share-files-using-share-sheet-in-ios?

(I have no swift experience, otherwise I'd have a go at it myself...)

rob-miller commented 5 months ago

The email options appear according to the result of MFMailComposeViewController.canSendMail() which returns "true if the device is configured for sending email or false if it is not." In my experience this most likely means you don't have an email account configured in your Settings.

However yes, the system share sheet is a much better solution now, and I've been meaning to implement it. Thanks for the link!

rob-miller commented 5 months ago

Closed by #4