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

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -