瀏覽代碼

Create styling-the-navigator.md

Guy Carmeli 7 年之前
父節點
當前提交
3cd5f34804
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      docs/styling-the-navigator.md

+ 3
- 2
docs/styling-the-navigator.md 查看文件

@@ -50,8 +50,6 @@ this.props.navigator.setStyle({
50 50
   statusBarBlur: false, // blur the area under the status bar, works best with navBarHidden:true
51 51
   navBarBlur: false, // blur the entire nav bar, works best with drawUnderNavBar:true
52 52
   tabBarHidden: false, // make the screen content hide the tab bar (remembered across pushes)
53
-  statusBarHideWithNavBar: false // hide the status bar if the nav bar is also hidden, useful for navBarHidden:true
54
-  statusBarHidden: false, // make the status bar hidden regardless of nav bar state
55 53
   statusBarTextColorScheme: 'dark', // text color of status bar, 'dark' / 'light' (remembered across pushes)
56 54
   statusBarTextColorSchemeSingleScreen: 'light' // same as statusBarTextColorScheme but does NOT remember across pushes
57 55
   navBarSubtitleColor: 'red', // subtitle color
@@ -59,6 +57,9 @@ this.props.navigator.setStyle({
59 57
   orientation: 'portrait' // Sets a specific orientation to a modal and all screens pushed to it. Default: 'auto'. Supported values: 'auto', 'landscape', 'portrait'
60 58
   
61 59
   // iOS only
60
+  statusBarHideWithNavBar: false, // hide the status bar if the nav bar is also hidden, useful for navBarHidden:true
61
+  statusBarHidden: false, // make the status bar hidden regardless of nav bar state
62
+  
62 63
   disabledBackGesture: false, // default: false. Disable the back gesture (swipe gesture) in order to pop the top screen. 
63 64
   screenBackgroundImageName: '<name of image in Images.xcassets>', // Optional. default screen background image.
64 65