PDA

View Full Version : Keyboard in Landscape mode Problem




testgame
Aug 11, 2010, 07:16 AM
Hello ,

i want to display keyboard in landscape mode. I am working in portrait mode. But i want display keyboard in landscape mode in one UIView.

newView *view = [[newView alloc] initWithFrame:CGRectMake(-80,80,480,320)];
[self.superview addSubview:view];
[view release];

I am adding new view with CGRectMake(-80,80,480,320) so it looks landscape but really device is in portrait mode. now when keyboard appears in portrait mode. i want to display in landscape mode.

Thanks in advance.