auto layout issue in landscape view custom keyboard

101 views Asked by At

i have create keyboard.xib for custom keyboard it working fine in portrait mode in all devices but i am unable to set constraint for landscape mode.

self.keyboard=[[[NSBundle mainBundle] loadNibNamed:@"Keyboard" owner:nil options:nil] objectAtIndex:0];
[self addGesturesToKeyboard];
self.inputView=self.keyboard;

enter image description here

enter image description here

someone tell me why this is happening, or what constraint i am missing.

1

There are 1 answers

0
Vineet Choudhary On