728x90
반응형
React Native를 통해 iOS 개발시,
react-native-vector-icons 가 인식이 되지 않는 문제가 있다.
나는 react-native-vector-icons 내의 Ionicons를 사용하고 있다.
https://stackoverflow.com/questions/77634653/react-native-ionicons-not-showing-in-ios-simulator
React Native: Ionicons not showing in iOS simulator
Here is my code for the back to previous screen button. // ChevronLeftButton.tsx import React from 'react'; import { TouchableOpacity, StyleSheet, GestureResponderEvent } from 'react-native'; import
stackoverflow.com
위 스택오버플로우에서 정말 자세히 설명해주고 있다.
구체적인 방법은 위에 설명되어 있고,
대략적으로 설명만 하자면
Ionicons.ttf 파일을 실제로 iOS 프로젝트 내에 추가를 해주고, Info.plist에 앱에서 정한 폰트를 사용할 수 있도록 설정을 추가해준다.
728x90
반응형