简体   繁体   中英

Scrolling issue in UITableView with the UIView in it

At first I've added to my Storyboard an UITableView , later inside of it I've added UIView

在此处输入图片说明

Now after running my app when I'm trying to scroll my tableView by dragging UIView to top(touching on UIView and trying to scroll) - it does not scroll, but when I scroll by dragging from tableView - it scrolls.

在此处输入图片说明

How can I fix it and scroll by touching and scrolling over those UIView ?

Make sure that you have checked 'cancellable content touches' of UITableview as below

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM