I am using UISearchController to present a search bar inside the header view of a tableview:
... self.searchController.hidesNavigationBarDuringPresentation =
I guess you set UISearchBar frame.original.y = 64
frame.original.y = 64
there are the code
if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)]) { [self setEdgesForExtendedLayout:UIRectEdgeNone]; } searchBar.frame = CGRectMake(0, 0, 376, 44);
wash can help you