瀏覽代碼

Update screen-api.md

Guy Carmeli 7 年之前
父節點
當前提交
192be2c977
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      docs/screen-api.md

+ 1
- 1
docs/screen-api.md 查看文件

@@ -10,7 +10,7 @@ Push a new screen into this screen's navigation stack.
10 10
 this.props.navigator.push({
11 11
   screen: 'example.ScreenThree', // unique ID registered with Navigation.registerScreen
12 12
   title: undefined, // navigation bar title of the pushed screen (optional)
13
-  titleImage: require('../../img/my_image.png'), //navigation bar title image instead of the title text of the pushed screen (optional)
13
+  titleImage: require('../../img/my_image.png'), // iOS only. navigation bar title image instead of the title text of the pushed screen (optional)
14 14
   passProps: {}, // Object that will be passed as props to the pushed screen (optional)
15 15
   animated: true, // does the push have transition animation or does it happen immediately (optional)
16 16
   animationType: 'fade', // 'fade' (for both) / 'slide-horizontal' (for android) does the push have different transition animation (optional)