i have an webView and my problem is that the status bar overlaps my webView.
i already tried the top 2 solutions of this topic:
but it didnt work. Status bar and navigation bar appear over my view's bounds in iOS 7
this is how it looks
any1 has an idea?
my code:
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
NSString *fullURL = @"http://bda-bawue.de";
NSURL *url = [NSURL URLWithString:fullURL];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[_viewWeb loadRequest:requestObj];
if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end