I added a UISearch programmatically to my app and the UINavigation bar was added in interface builder. When I added the search bar it left a tiny gap between the search bar and the nav bar. Is there a way to merge them together? Thanks.
self.searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0.0, 0.0, self.view.bounds.size.width, 44.0)];
self.searchBar.delegate = self;
self.searchBar.autoresizingMask = UIViewAutoresizingFlexibleWidth;
self.searchBar.showsCancelButton = NO;
[self.view addSubview:self.searchBar];