Test ReactNative part within native iOS app

I’m currently working on automated ui testing for a native iOS app which contains parts written in ReactNative.
I set labels for the elements in the ReactNative source which works fine for android. But when it comes to iOS testing, these labels are not found, also the inspector is not able to access or identify these elements.
How can I fix that?

switch to web context

Makes sense, but how?