LoginSignup
28
26

More than 5 years have passed since last update.

UITableViewやUICollectionViewなど(UIScrollview系)のtouchesBeganが遅い対処

Posted at

ハマりました・・・。

self.tableView.delaysContentTouches = false

これを追加すると即反応します。

これはタッチをホールドしてドラッグする場合に判断するので必要なもののようです。特にドラッグしない場合はfalseで良いと思います。

28
26
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
28
26