-
Notifications
You must be signed in to change notification settings - Fork 24k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to hide the default backButtonIcon in NavigatorIOS? #1383
Comments
Hi @faithfe - if you push a new route, you need to specify what the back button icon should be in that as well - not just in the If the above doesn't help, can you post a runnable example on https://rnplay.org/ please? |
thanks @brentvatne, it works! |
@faithfe, only local images are supported with NavigatorIOS. |
@ide , ok, tks! |
I still have this issue. Both on my backButtonTitle: " ",
backButtonIcon: require('image!ButtonBack'), Although when I omit the Back button, and use a Left button instead, the issue is solved, but I have to make my own "Navigate back" function ( leftButtonTitle: "",
leftButtonIcon: require("image!ButtonBack"),
onLeftButtonPress: this.refs.nav.pop, But this way, the "Swipe to go back" functionality is gone.. |
I am facing the same problem as @richarddewit
|
I believe this is how UIKit behaves, though if there's a way to override the back button icon with UINavigationController please send a PR. |
My code is:
I want to use my own back icon ('back_button') for backButtonIcon, but there are two back icons in the next page. How to hide the default one? tks
The text was updated successfully, but these errors were encountered: