Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

_gestureRecognizer:shouldReceiveEvent - unrecognized selector sent to instance

$
0
0

Please help me, I am trying to run my react-native app in xCode and it running but when i press the screen show up thit error.

mainAppDelegant.h

import <React/RCTBridgeDelegate.h>import <UIKit/UIKit.h>@interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>@property (nonatomic, strong) UIWindow *window;@end

AppDelegant.m

@implementation AppDelegate-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary  *)launchOptions {   NSURL *jsCodeLocation;   jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];  [ReactNativeNavigation bootstrap:jsCodeLocation launchOptions:launchOptions];    RCTBridge *bridge = [[RCTBridge alloc] initWithBundleURL:jsCodeLocation                                          moduleProvider:nil                                           launchOptions:launchOptions];  #if RCT_DEV    [bridge moduleForClass:[RCTDevLoadingView class]];  #endif    RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge                                                 moduleName:@"<AddYourAppNameHere>"                                          initialProperties:nil];  return YES;}

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>