Today the project encountered a UIButton can not click, get a half day, summed up the following several conclusions
1, if a uibutton frame beyond the parent view of the Frame,uibutton can still be visible, but cannot respond to the Click event , when the development, encountered UIButton Click did not respond to the problem, We need to output the frame of btn and its parent view to see if Btn.frame is out of view
2. See if there is a transparent view overlay above the BTN
3, did some animation operation, frame did not change, but the view changed
4, the user interaction property of the general button is definitely open by default, but if the Father view's properties are closed, then the button will not respond, such as to add the button to Uiimageview, it is better to uiimageview interactive properties open.
Currently looking for so many, follow-up there are other conditions in the supplement ... (PS today is btn beyond the size of the parent control) ╮(╯▽╰)╭
iOS button click No response