ios - Extending custom keyboard's height beyond 216 when using .xib -


i have custom keyboard using interface laid out in .xib file (which not use auto-layout). @ moment, having trouble extending height of interface more default 216 points.

i have attempted constrain height of keyboard using apple's suggested method nslayoutconstraint constraintwithitem: self.view..., causes keyboard not appear @ all.

this how initialize interface in keyboardviewcontroller.m (a subclass of inputviewcontroller)

[[nsbundle mainbundle] loadnibnamed:@"customkeyboardlayout" owner:self options:nil]; cgrect screenrect = [[uiscreen mainscreen] bounds]; cgfloat screenwidth = screenrect.size.width; //these have no effect in determining height/width of keyboard cgfloat screenheight = screenrect.size.height; self.keyboardoverlayview.frame = cgrectmake(0, 0, screenwidth, screenheight); 


Comments