disable scrolling in a UITableView (iPhone SDK 3.0)

前端 未结 6 1985
一向
一向 2020-12-15 18:44

I\'m trying to disable scrolling in a UITableView when editing a UITextField embedded in a UITableViewCell. This is just to prevent th

6条回答
  •  星月不相逢
    2020-12-15 19:25

    if you want to scroll only if its content is not visible then set:

    yourTableview.alwaysBounceVertical = NO;

    Here if your content is visible then your tableview will not scroll

提交回复
热议问题