Keyboard in Landscape mode Problem

Discussion in 'iPhone/iPad Programming' started by testgame, Aug 11, 2010.

  1. macrumors newbie

    Joined:
    Jun 9, 2010
    #1
    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.
     

Share This Page