Modal Confirmation Setup Step 1
internal class ConfirmationViewController: UIViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
let tap = UITapGestureRecognizer(target: self, action: #selector(self.handleTapOffModal(_:))) | |
tap.delegate = self | |
view.addGestureRecognizer(tap) | |
view.isUserInteractionEnabled = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment