Thursday, 21 March 2019

In react-navigation, how do I get the dimensions of the visible area between the header and TabBar?

const viewableWindowHeight = Dimensions.get('window').height - Header.HEIGHT - ???

How do I get the TabBar height? What if the iPhone is X? How can I take that into account?



from In react-navigation, how do I get the dimensions of the visible area between the header and TabBar?

No comments:

Post a Comment