Good,
How do I make an alert? the way I did it seems to be all right except for the function error.
Some help, thank you in advance.
self.present(myAlert, animated: true, completion: nil)
The original error was that you had called "presentedViewController", which is a property, instead of "presentViewController ()" which is a method. They were two letters, it is easy to confuse: -)