I’m making a little app, and there’s a small UIWebView there. The problem is that I need to make the content on it look either smaller or bigger. For example, text (like this) should be bigger or smaller. Before asking this question, I tried this:
[web setScalesPageToFit:YES];
[web setFrame:size];
It doesn’t have the behavior I want. Any ideas?
Thank you for answering!
It can be done something like this:
And +/- scale will done by:
Defines MAX_PAGE_SCALE and MIN_PAGE_SCALE restricts content to be too big and too small, and STEP_PAGE_SCALE determine step of scale change.