I have this small code:
NSString *size = [LabelNewContent stringByEvaluatingJavaScriptFromString:@"return Math.max(
document.body.scrollHeight, document.documentElement.scrollHeight,
document.body.offsetHeight, document.documentElement.offsetHeight,
document.body.clientHeight, document.documentElement.clientHeight
);"];
the problem is xcode doesnt recognize the parentheses and commas as a whole string.