2017-02-14 4 views
0

PhonGap 버전 cli-6.3.0에서 PhoneGap 빌드를 위해 새로 필요한 스플래시 스크린에 대용량 PNG 대신 SVG를 사용하려고합니다.PhoneGap 빌드의 스플래시 화면에 SVG 이미지를 사용하려면 어떻게해야합니까?

대신 SVG를 어떻게 사용합니까?

  <!-- iPads with retinia display --> 
    <splash src="[email protected]" width="1536" height="2048" /> 
    <splash src="[email protected]" width="2048" height="1536" /> 
     <!-- non-Retina ipads --> 
    <splash src="splash-ipad-portrait.svg" width="768" height="1024" /> 
    <splash src="splash-ipad-landscape.svg" width="1024" height="768" /> 
     <!-- iPhone 6/7 Plus --> 
    <splash src="splash-plus-portrait.svg" width="1242" height="2208" /> 
    <splash src="splash-plus-landscape.svg" width="2208" height="1242" /> 
     <!-- iPhone 6/7 --> 
    <splash src="splash-iphone6-portrait.svg" width="750" height="1334" /> 
    <splash src="splash-iphone6-landscape.svg" width="1334" height="750" /> 
     <!-- iPhone 5 --> 
    <splash src="splash-iphone5-portrait.svg" width="640" height="1136" /> 
    <splash src="splash-iphone5-landscape.svg" width="1136" height="640" /> 

답변

1

iOS는 일반적으로 스플래시 화면 또는 이미지 용 SVG 사용을 지원하지 않습니다.

당신이 벡터 PDF를 제공하고 자산 카탈로그를 사용하지만 이것은 시작 화면에 사용할 수없는 경우, 엑스 코드는 빌드 시간 여러 이미지 크기를 만들 수 있습니다

; 개별 이미지 크기를 유지할 필요없이 망막 디스플레이를 지원하는 데 필요한 서로 다른 크기 조정 된 이미지를 제공하기위한 것입니다.

+0

나는 슬프게도 대답을 유감스럽게 투표해야합니다. –