Josh Eldridge05/26/2023, 5:59 PM
but am unsure how to present it to the user. I've been experimenting and tried:
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.
val rootViewController = UIApplication.sharedApplication().delegate?.window?.rootViewController() rootViewController?.presentViewController(mfMailComposeViewController, animated = true, null)
URL and have the application open the URL without messing with views