How can I disable Multi Click for UIButton in Swift?
<p>I have two buttons that have their own segue with identifiers. I want to disable the multiple clicks for these buttons so both cannot be clickable at the same time.</p>
<p>My code :</p>
<pre><code>    self.view.multipleTouchEnabled = false
    self.view.exclusiveTouch = true
</code></pre>
<p>I tried this code in <code>viewDidLoad</code> but didn't work.</p>