Reputation: 18318
I have a UIWebView
that takes up all available space using the following method:
- (void)viewDidLayoutSubviews
{
//make sure web view takes up all space
self.webView.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
}
This works fine, but when the keyboard is accessed, whitespace appears above the keyboard. This does not happen in Safari on the same web page.
Could you give me some ideas on how to fix this? I have no idea why this is happening.
Upvotes: 0
Views: 883
Reputation: 1426
i have just tested this page on iPad simulator i found no problem
i have uiwebview in nib file and attached to outlet
Upvotes: 1