Using native ios views in React Native

Is there a way to use native ui components except delivered by react native (ListView, Text, etc) in js file?

For example, I have application created by react native and I want to use MWPhotoBrowser in it.

Yes. If you take a look at this section of the docs, under the title "Extensibility", then there's a bit that says "Custom iOS views can be exposed by subclassing RCTViewManager". This should get you started and then you can look at the React Native source code for examples of view classes that subclass RCTViewManager.

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

flutter websocket connection issue