react native iPhone 加上文本行

react native iPhone Plus text lines

app.Lines 中的所有多行文本标签都有线仅显示在 iPhone Plus 上而不显示在 iPad 选项卡上, android 或任何其他设备。

知道如何解决吗?文本上的线条类似于下图:

import React, {Component} from "react";
import {
  Image,
  View,
  StatusBar,
  TouchableOpacity,
  WebView,
  Dimensions,
  Linking,
  ScrollView,
  NetInfo,
  Alert
} from "react-native";
import {
  Container,
  Header,
  Title,
  Content,
  Text,
  H3,
  Button,
  Icon,
  Footer,
  FooterTab,
  Left,
  Right,
  Body
} from "native-base";

class Test extends Component {

  constructor() {
    super();
  }

  render() {
    return (
      <Container style={styles.container}>

<View>
<Text> test test test test test test </Text>
</View>

      </Container>
    );
  }
}

export default Test;

iPhone 7 加上在文本组件背景上显示线条,这也是 github 上已报告的 React Native 已知问题。要解决此问题,请在样式中添加:

 backgroundColor: 'transparent',