vendredi 15 janvier 2021

MFMailComposeViewController nil when testing lower than iOS13

I'm trying to test code with MFMailComposeViewController and the code works on iOS13 Devices and above, but when testing iOS12 and below the MFMailComposeViewController becomes completely nil and I can't assign any values to any variable of type MFMailComposeViewController. This ends up crashing my tests. Is there any work around for this problem?

Aucun commentaire:

Enregistrer un commentaire