I am following a book to learn IOs programming. For UIButton, it supposed to have a click action. However I only saw some actions like touch down etc.
Also, want to know why the default action not the “touch down” but “touchUpInside”
I am using XCode 4.3.
click action in iOS is represented but
touchUpInside, since click is a mouse eventtouchUpInside, means that the user touched down on a button, and then touch up, while he still is on the same button, which is the normal behavior when you want to tap on a button