How to notify user to scroll down the tableview

579 views Asked by At

ScrollToView

I have a tableview(highlighted in red rectangle) that will show only 3 rows at a time, now if i have the rows more than three, then i want to notify user to scroll down the tableview to view the rest of row.

In windows we will have a physical scroll bar on the right side, but in iPhone, showing scroll bar all the time is not possible.

Can any one tell me what is the best way to notify the user to scroll when we have more row to size.

Any help will be highly appreciated

5

There are 5 answers

0
MuhammadBassio On BEST ANSWER

The best solution is to make the height not a multiple of the row height.

if rowheight = 44; then tableheight = 110; or tableheight = 154; , this will show if there is a visible half row, which will lead the user to scroll.

0
oxigen On

You can make scroll indicators visible

tableView.showsVerticalScrollIndicator = YES;

Or "flash" them

[tableView flashScrollIndicators];
0
Rui Peres On

I don't recommend this kind of UX for an iOS app. You should remember that the recommended area of touch are 40*40px. However, a common practise (you can see it on the App Store app) it's to make the UITableView big enough so it can hold 3 and half cells, so the user get the hint there is more.

0
Abhishek Gupta On

Add your table on UIScrollView then you can show vertical indicator of scroll view.

yourScrollView.showsVerticalScrollIndicator = YES.

0
san On

In my opinion, you should not worry about notifying this to user. Any iOS user will understand that they can scroll it. Still if you want you can use:

scrollView.showsVerticalScrollIndicator = YES.

Also you can see: http://www.developers-life.com/scrollview-with-scrolls-indicators-which-are-shown-all-the-time.html