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

How can I declare interface in AppDelegate.h in Xcode?

$
0
0

I'm using React Native to make an iOS Application.

I need to add some code to AppDelegate.h file.

However, after searching about this, I realized that it's impossible to declare two interfaces at the same time.

How can I integrate these two interfaces?

// here's the code in AppDelegate.h

@interface AppDelegate : UMAppDelegateWrapper <RCTBridgeDelegate>

    @property (nonatomic, strong) UMModuleRegistryAdapter *moduleRegistryAdapter;
    @property (nonatomic, strong) UIWindow *window;


@end


@interface AppDelegate : UIResponder <UIApplicationDelegate, AppsFlyerTrackerDelegate>
@end


Viewing all articles
Browse latest Browse all 16750

Trending Articles



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