I am developing an application. There is a The result 1 string contains html data without HTML tags. This is the reason why he is adding the tag. Hope you have UIWebView on that page. And I will make a property for that one. And I have created an object for that class in another category and give the HTML data as given below for that webview. But did not show data on
UIWebView . Please tell me how to do this.
View Controller * View = [[View Controller Alok] init]; NSString * result1 = [[NSString alloc] initWithData: _data encoding: NSUTF8StringEncoding]; NSString * htmldata = [NSString stringWithFormat: @ "& lt; html>% @ ", result1]; [View.web loaded html string: htmldata baseURL: zero];
pushViewController or
popViewController Was asked to present the scene or view the scene of the visual object as a subview of the current view, then make sure that the webview is allocated, one frame is given and the view of
ViewController Has been added as. You have not used the method
initWithNibName: , for this, if the webviv is made from xib, it will not be.
Comments
Post a Comment