Manipulating WebKit CSS data before loading?

后端 未结 2 1691
无人及你
无人及你 2021-01-14 01:39

Is it possible to manipulate CSS data before it is parsed in WebKit?

I\'ve tried using the delegate method

- (NSURLRequest *)webView:(WebView *)send         


        
2条回答
  •  攒了一身酷
    2021-01-14 01:57

    As long as you can keep it under the 10MB limit, there is always stringByEvaluatingJavaScriptFromString and then do some loading of the CSS dynamically.

提交回复
热议问题