Josh Eldridge
05/26/2023, 5:59 PMMFMailComposeViewController
but am unsure how to present it to the user. I've been experimenting and tried:
val rootViewController = UIApplication.sharedApplication().delegate?.window?.rootViewController()
rootViewController?.presentViewController(mfMailComposeViewController, animated = true, null)
But it fails when grabbing the window. I'm not super familiar with iOS concepts so I'm sure there is some fundamental knowledge missing here.mailto:
URL and have the application open the URL without messing with views