Hi,
I'm now playing with iPhone SDK. But I'm having troubles and spending lots of time so far. If anyone can answers this question, that would be really appreciated!!!
(1) Automatically zoom webpage??
Suppose I load "yahoo.com" on my App by using UIWebView.
When I rotate the device from portrait to landscape, I want to automatically zoom webpage when the device is landscape.
I tried
myWebView.contentMode = UIViewContentModeScaleAspectFill;
But, it didn't seems to work.
Can anyone tell me how?
(2) Keyboard showed on webpage in landscape??
Suppose I load "google.com" on my App by using UIWebView and want to search for something by typing into search field.
When I tap text-field and allow keyboard to show up, the keyboard comes up in portrait if the device is portrait. On the other hand, when I flip the device and the device gets landscape, the keyboard has to come up in landscape. But, my app always make the keyboard portrait even when the device is landscape...
I write couple of things for the webView's orienation, but those didn't work for keyboard orientation. For example,
I did make myWebView respond to the orientation
myWebView.autoresizesSubviews = YES;
And I did also implement the following.
(BOOL)shouldAutorotateToInterfaceOrientation

UIIn terfaceOrientation)interfaceOrientation
{
return YES;
}
Actually those two worked for the webpage's orientation, but not for the keyboard orientation. Can anyone tell me what to do for
the orientation of the keyboard used in webpage.
Your help will be really appreciated

Thanks a lot,
hogeo