Resizing text in UIWebView - Swift 3
I having a problem, resizing text within a UIWebView , the html file is located within the bundle. I have managed to get a modified script to work within obj-c , however using swift 3 there is no change to the text size, although the optimal value changes correctly at each click of the button . Here is the code - import UIKit class ViewController: UIViewController { @IBOutlet var resWebView: UIWebView! @IBOutlet weak var increaseFont: UIBarButtonItem! @IBOutlet weak var decreaseFont: UIBarButtonItem! var defaults = ["textFontSize":40] @IBAction func fontButtonPressed(sender: UIBarButtonItem) {