[webview_ setScalesPageToFit:YES];
- if ([webview_ respondsToSelector:@selector(_setDrawInWebThread:)])
- [webview_ _setDrawInWebThread:NO];
+ if (kCFCoreFoundationVersionNumber < 478.61)
+ if ([webview_ respondsToSelector:@selector(_setDrawInWebThread:)])
+ [webview_ _setDrawInWebThread:NO];
UIWebDocumentView *document([webview_ _documentView]);
WebView *webview([document webView]);
MSMetaClassHook(WebView)
MSClassMessageHook0(void, WebView, enableWebThread) {
+ if (kCFCoreFoundationVersionNumber >= 478.61)
+ return MSOldCall();
+
NSLog(@"-[WebView enableWebThread]");
}