草庐IT

userPopupView

全部标签

ios - UIButton 不响应触摸

我有以下观点:它的建立方式UIViewController-->UIView(bottomsquare)-->UIViewController(isloadedinthebottomsquare)未触发此UIViewController中的按钮按下。但是,当我在模拟器中按下时,我确实看到按钮动画。此外,当我以编程方式将以下点击处理程序添加到此UIViewController中的圆形UIImageView时,它会响应:funchandleTap(sender:UITapGestureRecognizer?=nil){print("tappable")}lettap=UITapGestur