Tuesday, July 31, 2012

Scroll to top of UITableView by tapping status bar

Hi,

This is really a small thing but very important if you see by the perspective of good UI. Just like an apple native apps when you tap on status bar it will load zero'th index of tableview or we can say scroll to top.

It's just a sing line of code :

TableViewObj.scrollsToTop=YES;

Happy Coding :)

No comments:

Post a Comment