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

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -