简体   繁体   English

无论如何,使用户能够在iPhone应用程序中的UIWebView中缩放文本

[英]as there anyway to enable user to zoom text in UIWebView in iphone applicaiton

I am display text in UIWebview as there any way to enable user to zoom the text when they are reading the text.I have set font to 4 in html string. 我正在UIWebview中显示文本,因为有任何方法可以使用户在阅读文本时缩放文本。我在html字符串中将字体设置为4。

Thanks In Advance. 提前致谢。

将UiWebview scalesPageToFit属性设置为YES

objWebview.scalesPageToFit = YES; // objWebview - object of UiWebview

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM