Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Change background and font of UIWebView

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 589
    Comment on it

    To change the Background color, Font color, Font style in UIwebview, follow the following line of code.

    [webview loadHTMLString:[NSString stringWithFormat:@"<html><body style=\"background-color: red; font-size: 15; font-family: HelveticaNeue; color: #AAAAA\">%@</body></html>", stringHTML] baseURL: nil]; 
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: