How to get the correct screen width in react-native iOS?
问题 react-native Dimensions.get("window").width return 375 for an iPhone 6s.... it seems far from correct. ` import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Dimensions } from 'react-native'; class AwesomeProject extends Component { render() { return <Text style={{margin:50}}>Width: {Dimensions.get("window").width}</Text>; } } AppRegistry.registerComponent('AwesomeProject', () => AwesomeProject);` 回答1: 375 is the number of points across for the iPhone 6. For