I'm playing with a business card example ar app. I got a nmber of SCNNodes for buttons. Web views and phone call etc. I have a SCNNode for sending an email. When the user touches the "button" for email I instantiate the mail dlg. The mail dlg will present itself properly. The problem comes once the email dlg is dismissed I can no longer get touch events on the AR screen.
if(MFMailComposeViewController.canSendMail()) {
let emailComposer = MFMailComposeViewController()
emailComposer.mailComposeDelegate = self
// Configure the fields of the interface.
emailComposer.setToRecipients(["jclayton@somemail.com"])
emailComposer.setSubject("AR Screen")
let msgBody = "Important Message"
emailComposer.setMessageBody(msgBody, isHTML: false)
// Present the view controller modally.
present(emailComposer, animated: true, completion: nil)
}
else {
showAlert(title: "Email", msg: "This device is not configured to send email.")
}
I'm new to ARKit so I assume I'm missing something.
Thanks in advance