Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当内容适合屏幕时,如何禁用 UITableView 中的滚动行为。
self.tableView.scrollEnabled = NO;
或者这个:如果你不想让它反弹:
tableView.alwaysBounceVertical = NO.
尝试这个:
tableView.bounces = NO;