UIToolbar goes under status bar in iOS7
interface-builder, ios7, objective-c, uistatusbar, uitoolbar
Solution
1) Set the toolbar Y position to 20 (in the interface builder or in the code)
2) Set the toolbar delegate
3) In your toolbar delegate implement:
- (UIBarPosition)positionForBar:(id <UIBarPositioning>)bar
{
return UIBarPositionTopAttached;
}
Problem
I have a UIView and I have a UIToolbar and UIWebView. I want to show toolbar at top of UIView and after that the rest of page covered with webView. But toolbar goes under status bar like this How can I correct it in iOS7.