1
我正在使用react-native-navbar,我做錯了什麼?狀態欄顏色不變。它適用於iphone,但不適用於android。我下面react-native-navbar statusbar顏色沒有得到改變在Android上
<NavigationBar
title={{title:'Notifications', tintColor:'yellow'}}
tintColor="#ef5350"
statusBar={{style: 'light-content',tintColor:'#ef5350'}}
/>
我正在使用此庫:https://github.com/react-native-community/react-native-navbar。在文檔中,它聲明只需爲statusBar添加tintColor即可更改其顏色。同樣,它適用於IOS,但不適用於Android。 – ask007