I have a NSstring which stores the html text in it.
i want to display this string in uiwebview.
i am using this
[self.webView loadHTMLString:mystring baseURL:nil]
i know this is wrong. can anybody tell me how can i display my nsstring in uiwebview?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
[webView loadHTMLString:htmlString baseURL:[NSURL URLWithString:@"http://website.com"]];should work fine.make sure the script can access the webView object. 🙂