UITableViewCell 內的 UIButton 若點擊反應慢,常與 UIScrollView 的 delaysContentTouches 有關。可將 tableView 的 delaysContentTouches 設為 NO。
若問題仍存在,可在 cellForRow 中遍歷 cell 或 tableView 的 subviews,找到 UIScrollView 並將 delaysContentTouches 設為 false。
此做法可減少高亮狀態延遲,讓按鈕回饋更接近即時。