mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Added non-class-scanning-based approach fror registering js methods
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
@implementation RCTWebViewManager
|
||||
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
- (UIView *)view
|
||||
{
|
||||
return [[RCTWebView alloc] initWithEventDispatcher:self.bridge.eventDispatcher];
|
||||
|
||||
Reference in New Issue
Block a user