D
D
Dmitry Zamula2014-01-08 13:19:42
Objective-C
Dmitry Zamula, 2014-01-08 13:19:42

Is there a way to disable tableview scrolling?

Is there a way to disable tableview scrolling if it is at the top? That is, whatever happens like this
cd52dc25.pngfd52dc25.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
An, 2014-01-08
@DimkaMind

If I understand you correctly, then you need to set the bounces property to NO. It can be done directly in Interface Builder, or by code:
It's hard to say exactly without an example project
Although, IMHO, this makes the scrolling "wooden" and I would not turn it off.
PS Judging by the screenshot, you have some kind of crap with the hierarchy of views, because it is clear that cells 1/2/3 will not scroll further, but Mon/Tue/ will scroll. And bounces will only cover up the symptoms, it won't fix the problem...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question