52inc / Pulley

A library to imitate the iOS 10 Maps UI.
https://cocoapods.org/pods/Pulley
MIT License
2.02k stars 265 forks source link

How to enable scrolling in UITableView table when the content fits on the screen #62

Closed mrfer closed 7 years ago

mrfer commented 7 years ago

Please help with the question. This situation, when I open the DrawerViewController in the state .open, then scrolling is disabled, if the number of cells can fit into the screen sizes. And accordingly I can not catch the event here:

func scrollViewDidScroll(_ scrollView: UIScrollView) { self.searchBar.setShowsCancelButton(false, animated: false) }

amyleecodes commented 7 years ago

Unfortunately, that’s how scrollviews embedded inside of other scrollviews works on iOS.

Your best option would be to find another place where you could call that line of code.