I want to add text from my database to UIWebView, but I have an error that I cannot handle.
in my .h:
In .m:
@synthesize message,body; -(void)getNoticeData:(NSString *)noticeID:(NSString *)noticeTitle { //some taks not useful for this code NSString *bodyText = [dict objectForKey:@"introtext"]; [body loadHTMLString: bodyText]; }
The error I am getting is:
No visible @interface for 'UIWebView' declares the selector 'loadHTMLString:'
Why is this happening? Thank you in advance
source share