2017-03-09 134 views
0

我正在使用NavigatorIOS來路由我的應用程序。我想只顯示後退按鈕,沒有任何標題或欄,甚至半透明。 這可能嗎? 或者我必須使用另一個模塊? 目前,我有這樣的:NavigatorIOS React原生半透明

<NavigatorIOS 
    ref='nav' 
    tintColor="white" 
    style={{flex: 1}} 
    initialRoute={{ 
     title: 'Splash', 
     navigationBarHidden: true, 
     component: SplashScene 
    }}/> 

非常感謝您的幫助,

瑪戈

回答

1

你可以通過半透明的道具NavigatorIOS的路線,像這樣:

<NavigatorIOS 
    ref='nav' 
    tintColor="white" 
    style={{flex: 1}} 
    initialRoute={{ 
     title: 'Splash', 
     navigationBarHidden: true, 
     translucent: true, 
     component: SplashScene 
    }} 
/>