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

How to store object or string in Objective-C and use it

$
0
0

I'm making a react native app and using a native module to get a "string" inside objective-c ios project.

RCT_EXPORT_MODULE();RCT_EXPORT_METHOD(getEmail:(NSString *)email){  RCTLogInfo(@"Getting %@", email);}

I don't know anything about the Objective-C part and I don't know how to store my "email" into something I can use and retrieve inside the AppDelegate.m

Example : [customFieldsDictionary setObject:email forKey:@"EMail"];

If someone can help or guide me through this, it would be awesome !

Thank you


Viewing all articles
Browse latest Browse all 16750

Trending Articles



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