最小化按钮点击区域变大
This commit is contained in:
@@ -272,7 +272,7 @@
|
||||
_closeButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
[_closeButton setImage:[UIImage imageNamed:@"room_mini_close"] forState:UIControlStateNormal];
|
||||
[_closeButton addTarget:self action:@selector(closeButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||
[_closeButton setEnlargeEdgeWithTop:5 right:5 bottom:5 left:5];
|
||||
[_closeButton setEnlargeEdgeWithTop:10 right:10 bottom:10 left:10];
|
||||
}
|
||||
return _closeButton;
|
||||
}
|
||||
|
Reference in New Issue
Block a user