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

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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -