iphone - scrollRowToVisible -
the error goes out when scrollrowtovisible executed. 'uitableview' ..in xcode.. may not respond '- scrollrowtovisible'
it writes follows. iboutlet uitableview *tableviews; [tableviews scrollrowtovisible:2]; want move second line.
reloaddata operates.
why
reloaddata
valid method on uitableview
. scrollrowtovisible:
not, , have no idea got it—there's nothing else called in api. method you're looking -scrolltorowatindexpath:atscrollposition:animated:
, you'd use this:
[tableviews scrolltorowatindexpath:[nsindexpath indexpathforrow:2 insection:0] atscrollposition:uitableviewscrollpositionnone animated:yes];
Comments
Post a Comment