非常教程

React native参考手册

Components: TabBarIOS

TabBarIOS

道具

ViewPropTypes道具...

barStyle?: enum('default', 'black')

标签栏的样式。支持的值是“默认”,“黑色”。使用“黑色”而不是barTintColor黑色设置。这会生成一个带有原生iOS风格并具有较高半透明度的选项卡栏。

barTintColor?: color

标签栏的背景颜色

itemPositioning?: enum('fill', 'center', 'auto')

指定标签栏项目定位。可用的值包括: - 填充 - 在选项卡栏的整个宽度上分布项目 - 在可用选项卡栏空间中心项目 - 自动(默认) - 根据用户界面惯用语动态分配项目。在水平紧凑的环境中(例如iPhone 5),此值默认为fill水平常规(例如iPad),默认为居中。

style?: ViewPropTypes.style

tintColor?: color

当前所选标签图标的颜色

translucent?: bool

一个布尔值,指示标签栏是否半透明

unselectedItemTintColor?: color

未选标签图标的颜色。自iOS 10起可用。

unselectedTintColor?: color

未选定标签上的文字颜色

Components: TabBarIOS相关

React native

React Native 是一个 JavaScript 的框架,用来撰写实时的、可原生呈现 iOS 和 Android 的应用。

主页 https://facebook.github.io/react-native/
源码 https://github.com/facebook/react-native
发布版本 0.49

React native目录

1.开始 | Getting Started
2.指南 | Guides
3.APIs
4.组件:ActivityIndicator | Components: ActivityIndicator
5.组件:按钮 | Components: Button
6.组件:CheckBox | Components: CheckBox
7.组件:DatePickerIOS | Components: DatePickerIOS
8.组件:DrawerLayoutAndroid | Components: DrawerLayoutAndroid
9.组件:FlatList | Components: FlatList
10.组件:图像 | Components: Image
11.组件:KeyboardAvoidingView | Components: KeyboardAvoidingView
12.Components: ListView
13.Components: MaskedViewIOS
14.Components: Modal
15.Components: NavigatorIOS
16.Components: Picker
17.Components: PickerIOS
18.Components: ProgressBarAndroid
19.Components: ProgressViewIOS
20.Components: RefreshControl
21.Components: ScrollView
22.Components: SectionList
23.Components: SegmentedControlIOS
24.Components: Slider
25.Components: SnapshotViewIOS
26.Components: StatusBar
27.Components: Switch
28.Components: TabBarIOS
29.Components: TabBarIOS.Item
30.Components: Text
31.Components: TextInput
32.Components: ToolbarAndroid
33.Components: TouchableHighlight
34.Components: TouchableNativeFeedback
35.Components: TouchableOpacity
36.Components: TouchableWithoutFeedback
37.Components: View
38.Components: ViewPagerAndroid
39.Components: VirtualizedList
40.Components: WebView
41.创建 | Contributing
42.指南(Android) | Guides (Android)
43.指南(IOS) | Guides (iOS)
44.其他 | Miscellaneous