I\'m trying to create a UIButton using Swift. It compiles fine and I can see my button in the simulator, but when I click it, nothing happens. This is the code I am using:>
Make sure you link you button with your IBOutlet instance variable in your code if you're using storyboard.