ソースを参照

feat: remove scriptMessageHandlerForName method

sunzhongliang 5 年 前
コミット
06260b0e5e
共有1 個のファイルを変更した0 個の追加1 個の削除を含む
  1. 0
    1
      ios/RNCWebView.m

+ 0
- 1
ios/RNCWebView.m ファイルの表示

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