Custom inputView breaks apart when UITextField is enabled in iOS -
i working on creating custom keypad ipad app. created keypad custom inputview , assigning inputview attribute each textfield. built keypad in storyboard, , when place cursor in textfield, delegate method:
-(bool)textfieldshouldbeginediting:(uitextfield *)textfield{ nslog(@"how here?"); return yes; }
gets called, keypad weird reason breaks , spread on screen. have no idea why happening.
here screen looks when app first loads:
and here how app looks after place cursor in textfield calls above method:
here screen looks when turn autolayout off:
i have no idea why happening. doing wrong?
thanks in advance reply.
Comments
Post a Comment