Post

Replies

Boosts

Views

Activity

Reply to performSegue is ok with iOS 12.4 but crashes with iOS 16
Your @IBAction which unwind segues can have only UIStoryboardSegue as an argument. Try removing sender: Any? from your @IBAction The below code crashes with EXC_BAD_ACCESS error: @IBAction func unwindToRoot(_ segue: UIStoryboardSegue, sender: Any?) { } I resolved it by removing sender argument from IBAction. The below code worked fine for me @IBAction func unwindToRoot(_ segue: UIStoryboardSegue) { }
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’23