开发者

change webView Font size with Setting Bundle ! [iPhone SDK]

i want change my UI开发者_开发百科WebView with Setting bundle . what is the property for webview font ?

i know my codes is wrong !

if([defaults boolForKey:@"large_font"]) 
    {
        myWeb.font = [ UIFont fontWithName:myGhazal size:32.0f];
    }
    else {

        myWeb.font = [ UIFont fontWithName:myGhazal size:18.0f];
    }


Reference a css style sheet in your HTML document or put the style information into the top of the HTML document itself.

I think, you cannot set font size by code.

Regards.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜