I have a UIWebView that displays a third-party web page (and not a page that I can control)I need a way to scroll the contents of the web view to a specific position on this page.Any idea how to implement it?
Thank.
Well, I hate answering my own question, but it was easier than I thought ...
[webView stringByEvaluatingJavaScriptFromString: @ "window.scrollBy (0,180);" ];
Source: https://habr.com/ru/post/1743044/More articles:C ++ Pointer to a function that takes an instance of a template class as an argument - c ++TabLayoutPanel with scrolling - gwt2Getting PC value in an ARM assembly - assemblyКак живое редактирование XHTML и CSS в firebug, мы можем провести тестирование javascript без оставления страницы? - javascriptMVC Validator Errors Eliminate Using Time Management for the Controller - validationHow to create a controller and action without a model? - ruby-on-railsJava Swing - issue in JSpinner - javaFailed to link Hello World! - c ++Why does each thread in my application use a different hibernation session? - javausing cfhttp in multiple files taking too much time - coldfusionAll Articles