3

I am using react navigation (https://reactnavigation.org/) to display icons for the bottom navigation tabs. Icons are displaying fine, however, when I enter into pages in the stack, the icons disappear.

I can get the icons to show by referring to the icon image on each page individually, but I am wondering if there is a better way to do this. Thanks.

    static navigationOptions = {
    tabBarIcon: () => (
      <Image
        source={require('../../assets/profile.png')}
        style={styles.icon}
      />
      )
    }
Colin Sygiel
  • 917
  • 6
  • 18
  • 29
  • Were you able to figure anything out? Stuck on the same issue. I don't want to manually set tab icons for each screen since some screens can be accessed by multiple tabs and I'd want the tab icon from where it came from to be shown. – Zach Jun 26 '17 at 22:57
  • any update on this ?? How did you make it back appear – Gardezi Jan 09 '18 at 12:39

1 Answers1

-1

In my case my cell phone time was not correct. As soon as I made my cell phone same as my computer time my issue was fixed.

Gardezi
  • 2,692
  • 2
  • 32
  • 62