iphone - how to use custom font in html pages for UIWebView? -


I have the "Futura.ttf" font file. I'm displaying an HTML page in UIWebView, but my requirement is that I want to use custom fonts in my CSS file.

There is a way that I can use my CSS file in a custom CSS file

Thank you.

Custom font in your UIWebView in iOS3.2 and above It is possible to load Add a font to your bundle (see), then just reference the font in your UIWebView's stylesheet like you would other font:

   

Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -