swift - Scroll in UIScrollView with tvOS -


i stuck scrolling content inside uiscrollview in tvos app.

i have scrollview height = 400 , width = 400. inside scrollview have non-scrollable uitextview height = 800 , width = 400. want scroll text.

but scroll view not scrolled, don't see scrolling indicators , scrollview have isfocused value = false. how can solve problem?

p.s. update created separate viewcontroller (image below). have black scrollview , white view big height label in middle of it. scrollview has fixed width , height , there no scrolling reason! didn't connect separate class - created interface builder.

enter image description here

i think can use

func gesturerecognizer (_ gesturerecognizer: uigesturerecognizer, shouldreceive touch: uitouch) -> bool  

method judge view , scroll it

according view touch intercept


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -