I've been looking for days for a simple answer but I cannot seem to find it.

I want to find and replace the inputAccessoryView of keyboard attached to my UIWebView if the accessory view exists on the keyboard. I want to replace it so I can have my own Prev and Next buttons. Doing it in swift is a plus.

Sounds simple enough, but it's not obvious.