Im trying to set the fontsize of my uiwebview (ie. the content there) by using this code:
However, my app freezes, and I get the following warning (no error, though):
"warning: 'UIFont' may not respond to '+size:'
(Messages without a matching method signature will be assumed to return 'id' and 'accept'...' as arguments.)
warning: 'UIWebView' may not respond to '-setFont'."
Any idea what Im doing wrong here?
Code:
[webView setFont:[UIFont size:30]];
However, my app freezes, and I get the following warning (no error, though):
"warning: 'UIFont' may not respond to '+size:'
(Messages without a matching method signature will be assumed to return 'id' and 'accept'...' as arguments.)
warning: 'UIWebView' may not respond to '-setFont'."
Any idea what Im doing wrong here?