iphone - UITableViewCell behaving strange -


i posted thread earlier strange behavior when resizing uitableview fit keyboard. want simulate same functionality when user sends sms , uitextfield enters first responder (resizing tableview , show keyboard).

the funny thing works great point when add new row tableview (message). keyboard remains in right position uitoolbar moves bottom of screen startingposition is.

i demonstrate scenario following pictures (this test-project):

enter image description here

this first state , works great. up-button simulate uitextfield entering first responder, add-button add item tableview, , down-button simulate uitextfield resigning first responder.

i first press up-button resulting in following state:

enter image description here

and press add-button add item tableview resulting in following (correct) state:

enter image description here

and great, however, when start adding subviews(buttons, labels, etc) uitableviewcell, hell breaks loose. it's hard illustrate uitoolbar moves bottom of screen picture next shows:

enter image description here

it important mention have created uitableviewcell class , connected label, shown in picture above, outlet within class.

@interface customcell : uitableviewcell  @property (strong, nonatomic) iboutlet uilabel *mylabel; @end 

so conclusion problem lies within custom cell , subviews have not yet figured out problem is.

i appreciate suggestion or figure out.

many robert


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -