【Swift】 자산 이미지를 3 종류도 내보내고 싶지 않다
Swift 이미지를 세 가지 유형으로 내보내고 싶지 않아도됩니다.

이 기사에서 할 수 있는 일
iOS 개발을 하고 있어 곤란한 것이, 화상의 내보내기
x2 retina
이들을 즉시 준비해야합니다.

멘도! !
그러고 보면 xcode는 벡터도 대응하고 있지 않을까! !
1, 우선 PDF를 생성
2, PDF를 asset.xcassets에 넣는다.

그러면 글쎄, 이런 느낌이 든다.
3, single scale로 한다

벡터가 혼자서 single scale에 버립니다.
추가
끝! !
UIImage(named: "shot_ling")
하지만 요약

고마워요.
Reference
이 문제에 관하여(【Swift】 자산 이미지를 3 종류도 내보내고 싶지 않다), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/okamu_/items/085cfc5999db801020ff텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)