views:

160

answers:

0

Hi guys,

I'm using interface building to put a UiWebView inside a View on a main window. From javascript I call out to objective C where I display the native contact picker widget, something like this:

ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init];

picker.peoplePickerDelegate = self;

[self presentModalViewController:picker animated:YES];

[picker release];

Once I'm done choosing a contact, I hide it like so:

[self dismissModalViewControllerAnimated:YES];

The problem is that once it disappears, my webview has been moved roughly 20 pixels down and there's now this blank white area of about that size that I can't get rid of. What is suspicious is it seems to be the height of the battery/status bar.

Is there maybe some redraw (setNeedsDisplay either does nothing or causes a fault depending on where I call it) function that places the webview back where it was originally ?

This is using SDK 3.1.2 (but also happens on 2x and 3x). Happens on both sim and device

Thanks