如何设置标题的背景视图

时间:2019-12-06 00:13:51

标签: react-native

  headerBackground:()=><View style={{flex:1,backgroundColor:styles.primaryColor}}/>,

Ream Naviation v4中的Iam(日期的最新版本) 我尝试使用Imagebackground组件在标题中添加背景图片,所以我首先用上述代码测试了视图,如果在屏幕内运行上述代码导航对象,则会得到空白标题

0 个答案:

没有答案