How do I control scrolling web browsing with a scroll controller?

Usually, a scrollview has a table view or a text view, and then we can manipulate the page with the scroller to the right or bottom. Now I want to host a webview instead of a tableview or textview, and I don't want to control the webpage with a Safari controller and a scrollview controller, but I don't know how? and if i can disable safari controller or not, how to do it? Or can someone give me a sample? Thank you very much!

0


a source to share


1 answer


Select your webview at your bank, then select Scroll List from the Insert Objects In submenu from the Layout menu.



If for some reason you programmatically create a view hierarchy, then create an NSScrollView and set up the web view as a scroll view.

+1


a source







All Articles