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):
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:
and press add-button add item tableview resulting in following (correct) state:
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:
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
Post a Comment