PhoneGap
을 iOS
iOS9+
용으로 작성하는 데 사용 중입니다. 가이드 라인에 따라 Config.xml
에 다음 코드를 추가하여 스플래시 화면을 설정했습니다. PhoneGap에서 iOS 용 시작 화면을 설정하는 방법
// set the cordova plugin
<plugin name="cordova-plugin-splashscreen" source="npm" spec=">1.0.0" />
// set splash screen for iPad only
<platform name="ios">
<gap:splash gap:platform="ios" height="2048" src="res/screen/ios/[email protected]~ipad.png" width="1536" />
<gap:splash gap:platform="ios" height="2048" src="res/screen/ios/[email protected]~ipad.png" width="1536" />
<gap:splash gap:platform="ios" height="768" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
<gap:splash gap:platform="ios" height="1536" src="res/screen/ios/[email protected]~ipad.png" width="2048" />
</platform>
은 그 때 나는
iOS
플랫폼에서 아이폰 OS 플랫폼을
phonegap build ios --device
그것은 모두 복사 스플래시 이미지를 생성하는 '터미널'에서 다음 명령을 사용했다.
그러나 앱을 실행하면 기본값 Phonegap
스플래시 화면 이미지가 표시됩니다. iOS 프로젝트 'Images.xcassets'-> 'LaunchImage
을 체크인했는데 기본 이미지가 PhoneGap
개로 표시됩니다. Config.xml 파일에서 언급 한 스플래시 이미지가 표시되지 않습니다. iOS
에 config.xml
을 사용하여 스플래시 이미지를 설정하려면 어떻게해야합니까?
쇼 전화 격차의 이미지를 포함하거나'$ cordovaSplashscreen' – young
확인을 ngCordova이 플러그인이 너무 HTTPS를이 http://ngcordova.com/docs/plugins/splashscreen/ – young
검사를 사용하여 시작 화면을 숨길 수 : // cordova.apache.org/docs/ko/latest/reference/cordova-plugin-splashscreen/ – young