forked from mirrors/linphone-iphone
Do not block UI touch when displaying a search bar
This commit is contained in:
parent
5c093943be
commit
ab43658b31
2 changed files with 2 additions and 8 deletions
|
|
@ -67,10 +67,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
|
||||
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
|
||||
{
|
||||
if (![self.tableController.searchBar isFirstResponder]) {
|
||||
return NO;
|
||||
}
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
|||
|
|
@ -263,10 +263,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
|
||||
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
|
||||
{
|
||||
if (![self.searchBar isFirstResponder]) {
|
||||
return NO;
|
||||
}
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue