iOS WKWebView-将内容滚动到最右侧
在iOS WKWebView-将内容滚动到最右侧,ios,scroll,uiscrollview,uiwebview,webkit,Ios,Scroll,Uiscrollview,Uiwebview,Webkit,在iOS中,我可以使用以下命令将WKWebView上的网页滚动到顶部: CGPoint top = CGPointMake(0, 0); [self->webView.scrollView setContentOffset:top animated:YES]; 如何滚动到最右边?您没有尝试将xAxis值更改为右边??
iOS
中,我可以使用以下命令将WKWebView
上的网页滚动到顶部:
CGPoint top = CGPointMake(0, 0);
[self->webView.scrollView setContentOffset:top animated:YES];
如何滚动到最右边?您没有尝试将xAxis值更改为右边??