Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 UIWebView 打开一个 pdf 文件,一旦我开始向下滚动,它就会显示左角的页码框。我想将页码的位置更改为 pdf 页面的底部。任何想法?谢谢
[self.webView stringByEvaluatingJavaScriptFromString:@"window.scrollTo(0,100);"];
而不是100要给出的页面位置。
100