diff --git a/XBMC Remote/DetailViewController.m b/XBMC Remote/DetailViewController.m index 8a61518b8..ce46afbd4 100644 --- a/XBMC Remote/DetailViewController.m +++ b/XBMC Remote/DetailViewController.m @@ -2185,7 +2185,7 @@ - (UISearchBar*)createFakeSearchbarInDark:(BOOL)isDark { // Create non-used search controller. This is added as tableHeaderView and lets iOS gracefully handle insets UISearchController *searchCtrl = [[UISearchController alloc] initWithSearchResultsController:nil]; searchCtrl.searchBar.showsCancelButton = YES; - searchCtrl.searchBar.frame = self.searchController.searchBar.frame; + searchCtrl.searchBar.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), CGRectGetHeight(self.searchController.searchBar.frame)); searchCtrl.searchBar.searchBarStyle = UISearchBarStyleMinimal; searchCtrl.searchBar.barStyle = UIBarStyleBlack; searchCtrl.searchBar.autoresizingMask = UIViewAutoresizingFlexibleWidth;