How can a disabled button get touches?
问题 I was just wondering how can this happen. In my iPhone application during a http request loading I am disabling a button in the navigation bar. But when I touch the button three or four times the action method gets called after the loading is completed this means that even though the button is disabled the touches are detected on it and later the ibaction method is called . So is this exceptional or is there any way to prevent this ? Thanks .... 回答1: Setting a UIControl disabled does not