ios개발

swift xcode custom font 추가하기, 원하는 폰트 찾는 방법.

studying develop 2021. 8. 9. 14:57

일단 폰트를 찾는 방법은 https://fonts.google.com/?preview.text=January&preview.text_type=custom 

 

Google Fonts

Making the web more beautiful, fast, and open through great typography

fonts.google.com

 

구글 폰트를 사용하면 된다. 라이센스가 적혀있는데 전부 무료인거 같다.

 

 

그리고 버튼을 클릭하여 다운로드 받고

파일을 추가 하여준다.

 

그리고 info.plist에도 알려줘야 한다. 어떤 파일이 커스텀 폰트 파일인지.

 

그리고 마지막으로 오른쪽 창에서 타겟 맴버쉽을 꼭 확인해준다.