瀏覽代碼

fix(iOS) exported view property "injectedJavaScriptBeforeContentLoadedForMainFrameOnly" now has correct name.

Jamie Birch 4 年之前
父節點
當前提交
14de90b098
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      ios/RNCWebViewManager.m

+ 1
- 1
ios/RNCWebViewManager.m 查看文件

@@ -53,7 +53,7 @@ RCT_EXPORT_VIEW_PROPERTY(onContentProcessDidTerminate, RCTDirectEventBlock)
53 53
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScript, NSString)
54 54
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptBeforeContentLoaded, NSString)
55 55
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptForMainFrameOnly, BOOL)
56
-RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptForMainFrameOnlyBeforeContentLoaded, BOOL)
56
+RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptBeforeContentLoadedForMainFrameOnly, BOOL)
57 57
 RCT_EXPORT_VIEW_PROPERTY(javaScriptEnabled, BOOL)
58 58
 RCT_EXPORT_VIEW_PROPERTY(allowFileAccessFromFileURLs, BOOL)
59 59
 RCT_EXPORT_VIEW_PROPERTY(allowsInlineMediaPlayback, BOOL)