I am getting a weird error on XCODE: expected '[' error and my build fails. This is the code
[descWeb loadHTMLString:[NSString stringWithFormat:@"<html><body p style='color:black' text="#000000" face="HelveticaNeue" size="5">%</body></html>",strtemp] baseURL: nil];
This is the whole code block
[descWeb removeFromSuperview];
descWeb = [[UIWebView alloc]init];
descWeb.delegate = self;
descWeb.tag = 1;
[descWeb setOpaque:NO];
[descWeb setBackgroundColor:[UIColor clearColor]];
descWeb.frame = CGRectMake(3, 7, 314, 350);
[descWeb loadHTMLString:[NSString stringWithFormat:@"<html><body p style='color:black' text="#000000" face="HelveticaNeue" size="5">%</body></html>",strtemp] baseURL: nil];
[scrollView addSubview:descWeb];
Thank you for looking and your help
%@placeholder for thestrtempyou're trying to put in it. I can't remember off hand if this will cause the error you're seeing or not.@is missing after the%.