forked from organicmaps/organicmaps
[ios] search
This commit is contained in:
parent
42df3f412e
commit
49ff653946
1 changed files with 2 additions and 1 deletions
|
@ -265,7 +265,8 @@ static void OnSearchResultCallback(search::Results const & results)
|
|||
self.tableView.alpha = 1;
|
||||
self.tableView.minY = 0;
|
||||
} completion:^(BOOL finished){
|
||||
[self.tableView setContentOffset:CGPointMake(0, -self.tableView.contentInset.top) animated:YES];
|
||||
if (!self.searchBar.resultText)
|
||||
[self.tableView setContentOffset:CGPointMake(0, -self.tableView.contentInset.top) animated:YES];
|
||||
}];
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue