My function is this and it is called with a "done" UIBarButtonItem.
@IBAction func done(sender: UIBarButtonItem) {
dismissViewControllerAnimated(true, completion: nil)
}
I have read multiple other questions/answers about a deleted instance or an old/extra connection in the Interface Builder or in the View Controller code. However, I only have this one function all properly connected without any extra lingering connections. How do I get rid of the "unrecognized selector sent to instance" error
Thanks in advance!
dismissViewControllerAnimatedjust to isolate theUIBarButtonItem, (I'm assuming 'self' is a ViewController, but just to be sure).