- 博客(1)
- 收藏
- 关注
原创 UIButton按钮很小时,想增大点击区域
解决方法: 重写btn的 -(BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event; 方法 -(BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event{ //当前btn大小 CGRect btnBounds = self.bounds;
2017-03-10 10:46:46 413
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人