Skip to content
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 change the ButtonIcon in NavigatorIOS? #2752

Closed
yangaqi opened this issue Sep 16, 2015 · 2 comments
Closed

How to change the ButtonIcon in NavigatorIOS? #2752

yangaqi opened this issue Sep 16, 2015 · 2 comments
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@yangaqi
Copy link

yangaqi commented Sep 16, 2015

<NavigatorIOS
initialRoute={{
component: LiveResult,
title: 'My View Title',
leftButtonIcon: require('image!xxx'),
onLeftButtonPress:() => {
console.log('change leftButtonIcon!');
},
rightButtonIcon: require('image!xxx'),
onRightButtonPress: () => {
console.log('change rightButtonIcon!');
},
}}
tintColor="#FFFFFF"
barTintColor='#C2185B'
titleTextColor="#FFFFFF" />

@mikearmstrong001 mikearmstrong001 added the Platform: iOS iOS applications. label Sep 16, 2015
@brentvatne
Copy link
Collaborator

Hi there,

This type of question is best suited for StackOverflow - we use Github to track bugs and feature requests.

Good luck!
🚀 🎸

@yangaqi
Copy link
Author

yangaqi commented Sep 17, 2015

oh..................... NavigatorIOS can not change the leftButtonIcon or rightButtonIcon! in a page i can not change current navigatorIOS item leftButtonIcon or rightButtonIcon.

i solve it like this: hide the NavigatorIOS and use a custom navigatorbar in each page top

@facebook facebook locked as resolved and limited conversation to collaborators Jul 21, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants