mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
feat: make example run as bare react-native project as well (#85)
This commit is contained in:
committed by
Satyajit Sahoo
parent
9563a27284
commit
d16c20cd39
18
packages/example/ios/ReactNavigationExample/AppDelegate.h
Normal file
18
packages/example/ios/ReactNavigationExample/AppDelegate.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <UMReactNativeAdapter/UMModuleRegistryAdapter.h>
|
||||
#import <React/RCTBridgeDelegate.h>
|
||||
#import <UMCore/UMAppDelegateWrapper.h>
|
||||
|
||||
@interface AppDelegate : UMAppDelegateWrapper <RCTBridgeDelegate>
|
||||
|
||||
@property (nonatomic, strong) UMModuleRegistryAdapter *moduleRegistryAdapter;
|
||||
@property (nonatomic, strong) UIWindow *window;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user