Hi I'm new to programming and am currently building my first iOS app. In this app, I have a UIWebView set up on a view controller and have it loading a local htm file. This htm file is linked to a css file (also local). These load fine within the app and the user can see the content and it is styled appropriately
The issue I have is this, I want the user to able to change the text colour of the content which is set within the css file. Is there a way to achieve this using code? i.e. I would have a button called "change colour" and when pressed it would edit the css file and change the colour and then reload the page. Also would like to do the same thing with font size.
Is editing the css file the best way to achieve this or are there other easier or better methods?
Any help would be much appreciated. :)