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.
基本上我想在 UIWeebView 上放置自定义按钮。
我有一个获取 PDF 文件的 URL。在那个 PDF 中有一列“myButton”,我需要将按钮放在上面,以便随文件滚动。
我怎样才能实现它?
您可以将视图添加到 webview 的滚动视图
[webView.scrollView addSubview:youSubView];
根据您的要求设置子视图的坐标。滚动视图只能访问 > iOS5。请参阅文档。
在一个 php 文件中,我有以下内容
<script id="svg-xml" type="text/template"> <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http