iphone - How to make a UIWebView show its text with a custom font? -
it looks if font in uiwebview default kind of "times new roman". guess have figure out font apple uses [uifont systemfontofsize:15] ... or there intelligent way it?
how inserting text in uiwebview? assuming setting html can change font either full css, inline css or deprecated font tags.
<html>     <head>         <style>         body { font-family: 'times new roman'; font-size: 15px; }         </style>     </head>     <body>         here text     </body> </html>   of course tweak style , size appropriately.
Comments
Post a Comment