我在我的应用程序中显示 html 邮件。但它不会像苹果的邮件应用程序那样将图像拉伸(stretch)到完整尺寸。请参阅下面的屏幕截图。苹果如何 知道如何实现这一目标吗?
- 我的应用程序 WebView
Apple 的邮件应用
最佳答案
我知道这并不能回答你的问题,但苹果明确警告不要在 UIWebView 类引用中的 UIScrollViews 中嵌入 UIWebViews
Important You should not embed UIWebView or UITableView objects in UIScrollView objects. If you do so, unexpected behavior can result because touch events for the two objects can be mixed up and wrongly handled.
但就其值(value)而言,您是否尝试过 UIWebView 的scalesPageToFit 属性?
关于html - UIScrollView 内的 UIWebView 无法正常显示内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9481394/