Skip to content

Commit

Permalink
fix(ios): fixed large title rendering issue
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 5d362b7 commit 2624c81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iphone/Classes/TiUIListView.m
Original file line number Diff line number Diff line change
Expand Up @@ -2252,6 +2252,7 @@ - (void)viewGetFocus
}
if (!controller.navigationItem.searchController) {
controller.navigationItem.searchController = searchController;
[controller.navigationController.navigationBar sizeToFit];
}
}

Expand Down Expand Up @@ -2355,7 +2356,7 @@ - (void)initSearchController:(id)sender
searchController.delegate = self;
searchController.searchResultsUpdater = self;
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;
Expand Down

0 comments on commit 2624c81

Please sign in to comment.