Patching a framework binary?


My company's app is using the Objective C GVRSDK framework in their app (Google). This framework is no longer supported. It has a lot of classes, and one of them links to UIWebView, meaning in December we cannot submit new versions of our app. We don't use the UIWebView.
Wondering if we can just "patch" the binary somehow, and change UIWebView to WKWebView, or XXWebView then provide our own class for that (which does nothing) to make the linker happy.
Is this possible, and if so, any tips on how we might do it? [Posted on Apple internal forums, got nothing after several days...]