Skip to content

Commit

Permalink
fix(ios): fixed large title rendering issue in tablview
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysingh-axway authored and ewanharris committed Jun 15, 2021
1 parent 112a521 commit 90f17bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iphone/Classes/TiUITableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ - (void)initSearhController
if (searchController == nil) {
searchController = [[UISearchController alloc] initWithSearchResultsController:nil];
searchController.hidesNavigationBarDuringPresentation = NO;
searchController.dimsBackgroundDuringPresentation = NO;
searchController.obscuresBackgroundDuringPresentation = NO;
searchController.searchBar.frame = CGRectMake(searchController.searchBar.frame.origin.x, searchController.searchBar.frame.origin.y, 0, 44.0);
searchController.searchBar.autoresizingMask = UIViewAutoresizingFlexibleWidth;
searchController.searchBar.placeholder = [[searchField searchBar] placeholder];
Expand Down Expand Up @@ -2405,6 +2405,7 @@ - (void)viewGetFocus
}
if (!controller.navigationItem.searchController) {
controller.navigationItem.searchController = searchController;
[[[controller navigationController] navigationBar] sizeToFit];
}
RELEASE_TO_NIL(controller);
}
Expand Down

0 comments on commit 90f17bd

Please sign in to comment.