Regarding
1.The UIToolbar
and UISearchBar
is not visible any more write the below code in viewDidLoad
and your problem will solved.
[self setEdgesForExtendedLayout:UIExtendedEdgeLeft |
UIExtendedEdgeBottom |
UIExtendedEdgeRight];