Search code examples
iphoneios5uiwebviewload

Load information from database to uiwebview as html


I want to load my information that I took from database to the UIWebView as a Html.I dont know how to approach this problem.Can you help me ..How can I do that??Thank you


Solution

  • [webview loadHTMLString:[self stringByDecodingXMLEntities:[TBXML textForElement:comment]] baseURL:[NSURL URLWithString:@""]];
    

    Hi everyone , thank you for ur answers,ur interest.I have my solution now.I need to add this part and also I need to decode my html..Nothing more..I hope helpfull