Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 51

NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
03/08/15 12:15 PM (9 years ago)

Retina iPhone background images in Splash Screen not displayed full sceen?

My previous apps used 320x568 images. However this time around I wanted to include a 640x1136 retina size image for the Splash Screen. Either with or without @2x and jpg or png they do not scale to the fullscreen- seeing the center 320x568 area. I can use the same image as a bckground image on any other screen, and it sizes correctly! - EDIT: I am loading from URL. Just downloaded the splash plugin today so it is current. -------------- PS wanted to try out the Animated Splash instead of the bt_splash, but in Themes it can not be selected as a valid Splash screen??
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
03/08/15 12:17 PM (9 years ago)
Did you put these images in the Image.xcassets folder?
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
03/08/15 12:18 PM (9 years ago)
Forgot to mention I am loading from URL.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
03/08/15 12:20 PM (9 years ago)
Ah. Yep. That's the problem. URLs don't load the @2x or @3x images.
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
03/08/15 12:32 PM (9 years ago)
Thanks Thomas. I can workaround that limitation today, but would like to be able to load from URL :( - is that a BT or iOS restriction?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/08/15 05:15 PM (9 years ago)
Although not 100%, I'd lean towards a combo of both apple and BT... Apple is looking for an image named 'myImage.png', like in your code. BT (typically) facilitates only one image via dataURL . Internally, with respect to iOS, if it's a retina device, it will 'automatically' look for a @2x or @3x filename, but it won't be available, so it 'should' try and make do with whatever image is there. What you may try to do is use a super good resolution (@3x?) for your dataURL image, with the old fashioned 'myImage.png' filename, and test to see if it works on all devices. Good Luck! Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.