Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

264
Views
How to return a string in function in native module in react-native

I am working on a function related to the native part of ios written in Object-C,

I want to write a method that returns a string in Object-C,

but I am facing a problem when I write this method: Expected selector for Objective-C method,

My code is as follows:

RCT_EXPORT_METHOD((NSString *)getName)
{
  return "Sammeme";
}
@end

Anyone doing ios development can help me to solve this problem,

Thank you

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!