开发者

i want to fix my table view while i am scrolling [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
开发者_如何学C

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 9 years ago.

Improve this question

while i am scrolling my table view gets moving upwards .. i hav created table view programmatically without using IB so i should able to fix the position of table view while scrolling also... how to do this.. any suggestions appreciated..


Do you mean you dont want the table to scroll at all? If so then this should do it.

tableView.scrollEnabled = NO;


Are you embedding a UITableView in a UIScrollView? It sounds like it. Don't. UITableView is already a subclass of UIScrollView and supports scrolling on its own.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜