【发布时间】:2012-05-19 07:05:58
【问题描述】:
如何阻止我的 UIWebView 在按下按钮时自动滚动?
[web_try loadHTMLString:[NSString stringWithFormat:@"<marquee scrollamount='2' direction='up' loop='true' width='278' height='48'> <font size='3' face='HelveticaNeue-Bold' color='#242424'>%@</font></marquee>", option_value] baseURL:final_url];
【问题讨论】:
-
你是指从选取框滚动还是UIWebView包含的UIScrollView的滚动?
-
我使用选取框滚动 webview 内容。现在我想通过按下按钮来停止这种自动滚动。
标签: iphone objective-c uiwebview