Mark Lucking
1 min readApr 10, 2020

--

No, I read it too quickly. Sorry I left a comment too quickly. Installed the library. Tested it, worked; but didn’t. Managed to disable a scrolling in a scrollView; but then couldn’t switch it back on subsequently. Did so by defining a variable [fudge] that I changed with a long press. Started as false; I can scroll. Changed to true. Screen locked, all good. Changed back to false… nothing happened…

.introspectScrollView { (scrollView) in
scrollView.isScrollEnabled = self.fudge
}

--

--

Mark Lucking
Mark Lucking

Written by Mark Lucking

Coding for 35+ years, enjoying using and learning Swift/iOS development. Writer @ Better Programming, @The StartUp, @Mac O’Clock, Level Up Coding & More

No responses yet