react native - How to modified the title/leftButton/rightButton on the navigation bar of a NavigatorIOS after the scene is shown? -


one direction call setstate of navigatorios , make rerender new title/leftbutton/right. however, in context of scene, it's not naturally ok touch navigatorios, since in props there no ref it.

another direction try method such put/replace/... on props.navigator, change navigation stack. replace method seems right choice, nothing happened when call it.

you can @ navigatoriosexample of react native.

the component replaced, there no way change right button or title of current route.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -