Pārlūkot izejas kodu

feat: remove scriptMessageHandlerForName method

sunzhongliang 5 gadus atpakaļ
vecāks
revīzija
06260b0e5e
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0
    1
      ios/RNCWebView.m

+ 0
- 1
ios/RNCWebView.m Parādīt failu

288
 - (void)removeFromSuperview
288
 - (void)removeFromSuperview
289
 {
289
 {
290
     if (_webView) {
290
     if (_webView) {
291
-        [_webView.configuration.userContentController removeScriptMessageHandlerForName:MessageHandlerName];
292
         [_webView removeObserver:self forKeyPath:@"estimatedProgress"];
291
         [_webView removeObserver:self forKeyPath:@"estimatedProgress"];
293
         [_webView removeFromSuperview];
292
         [_webView removeFromSuperview];
294
 #if !TARGET_OS_OSX
293
 #if !TARGET_OS_OSX