0

I have problem with UISearchDisplayController rather with searchResultTableView, on top of the first cell has a clear space. When scroll searchResultTableView we obtain the following:http://i.stack.imgur.com/zeEUC.jpg

mr-koww
  • 56
  • 1
  • 7
  • This looks like "UITableView shows under status bar". Please take a look at possible solutions here http://stackoverflow.com/questions/18900428/ios-7-uitableview-shows-under-status-bar – Alex Peda Jul 20 '14 at 13:11
  • in fact of the matter that UITableView all good, but with searhResultTableView problem. And there is not a problem in the frame.origin, and in the presence of a strange space above the first cell size of about 40px – mr-koww Jul 20 '14 at 13:17
  • the question is removed, the error in the application is built in Interface Builder. I'm sorry – mr-koww Jul 20 '14 at 13:30

1 Answers1

1

Use this code in your viewDidLoad :

self.edgesForExtendedLayout=UIRectEdgeNone;
Nehal
  • 21
  • 4