Reputation:
I'm having some trouble with my project. Everything works fine regarding features and functions, but i've noticed a delayed reaction and rough transition whenever I call self.presentViewController() on MFMessageComposeVC and CNContactsVC.
When presenting MFMessageComposeViewController, I call self.present() inside of an IBAction. I'll wait close to a second before it presents itself.
When presenting CNContactsVC, I do so inside of a didSelectRowAt() tableView function. Details of a contact from your Contacts are loaded, but it's not smooth the first time. Every time after however it works fine until I reset the app.
Any help would be appreciated, thank you.
EDIT
I've also put both lines of code on the main thread with DispatchQueue.main.async{ self.present(..}
Upvotes: 0
Views: 128