My keboard appears in landscape but the ipad is in portrait and when in landscape appears in landscape
I have 2 xibs and in the landscape xib have the code in viewDidLoad:
CGAffineTransform rotate = CGAffineTransformMakeRotation(1.57079633);
[self.view setTransform:rotate];