We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f811f1b commit 7e94f61Copy full SHA for 7e94f61
TYAlertControllerDemo/TYAlertController/TYAlertController.m
@@ -191,7 +191,8 @@ - (void)setBackgroundView:(UIView *)backgroundView
191
- (void)addSingleTapGesture
192
{
193
self.view.userInteractionEnabled = YES;
194
-
+ _backgroundView.userInteractionEnabled = YES;
195
+
196
UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(singleTap:)];
197
singleTap.enabled = _backgoundTapDismissEnable;
198
0 commit comments