platform (1) 썸네일형 리스트형 [j React-Native] Platform & DeviceInfo 정보 가져오기 1. Platform 정보 import { Platform, View, } from 'react-native'; Platform.OS -> ios or android Platform.Version -> version 2. DeviceInfo - 설치 npm install --save react-native-device-info or using yarn: yarn add react-native-device-info ex) - DeviceInfo.getBrand() -> 브랜드 정보 - DeviceInfo.isTablet() -> 태블릿인지 아닌지 더 많은 정보는 해당 사이트에 표로 정리가 되어있다. https://github.com/react-native-device-info/react-native-dev.. 이전 1 다음