【发布时间】:2015-04-13 08:22:41
【问题描述】:
在react-native中,如何改变NavigatorIOS的样式,比如backgroundColor?谢谢!
var speedNews = React.createClass({
render: function() {
return (
<NavigatorIOS style={styles.container}
initialRoute={{
title: 'SpeedNews',
component: ViewList
}}/>
);
}
});
var styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor : 'red', // it do nothing
color : '#ffffff' // it do nothing
}
});
【问题讨论】:
标签: ios react-native