Xcode – Button Tap – ShareSheet rootViewController Issue
I'm having issues when tapping buttons that either open the share sheet or email. Behavior - Does not work when app is launched after install. Works fine after restarting app. UIApplication.shared.windows.first?.rootViewController?.present(shareController, animated: true, completion: nil) Behavior - Works fine when…