Don’t think this has been asked before, I can’t find an answer at least… I wondered whether it was possible to clear the simulator console log from code?
I’m debugging and printing A LOT of stuff to the log (e.g. at the moment, the co-ordinates of an object as it traverses the screen, hundreds of lines of output), then making changes to my code and reloading the simulator to observe changes. At the moment I’m having to clear the log via the context menu (or CMD+K) before each reload, it’d be handy if I could stick a line of code into my app that eliminates this step, e.g. console.clear() so I start with a nice empty log when my app starts again.
Thanks!
