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:

before

and here how app looks after place cursor in textfield calls above method:

after

here screen looks when turn autolayout off:

enter image description here

i have no idea why happening. doing wrong?

thanks in advance reply.


Comments

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -