iOS Question slower app opening than other apps

sorex

Expert
Licensed User
Longtime User
Hello,

When I open one of the apps made by B4A I see the app load like this

(White) empty screen
a white bar appears for a few miliseconds with time, wifi, battery info
the actual app appears


When I open one of the apps that's default on the iPhone 4s they open instantly.

What is the difference between the 2?

are the pure objC compiled ones just a lot faster than what B4A creates ?
 
it's a 4S.

you're right, it's there for the others but not for 4.

I'll give it a try.
 
Upvote 0
I am using iphone 4s and ipad2, i dont know if i can add a launch image for those devices as the tutorial talks only about iphone5/6/6+
Read the tutorial carefully. It explains how to add the images to retina and non-retina ipads.

It also provides the details required for adding iPhone 4S images.
 
Upvote 0
Read the tutorial carefully. It explains how to add the images to retina and non-retina ipads.

It also provides the details required for adding iPhone 4S images.

You are right, sorry... :oops:

So if i change the image i wont get a black screen at app lauch?
 
Upvote 0
I create a white 640x960 image and copied it to the files\special as [email protected]

added this to that plist file

Code: Copy
    <dict>
        <key>UILaunchImageMinimumOSVersion</key>
        <string>7.0</string>
        <key>UILaunchImageName</key>
        <string>Default@2x</string>
        <key>UILaunchImageOrientation</key>
        <string>Portrait</string>
        <key>UILaunchImageSize</key>
        <string>{640, 960}</string>
    </dict>

but it's still black :)


maybe it conflicts with the one below that was already inthere for IOS7?

Code: Copy
      <dict>
        <key>UILaunchImageMinimumOSVersion</key>
        <string>7.0</string>
        <key>UILaunchImageName</key>
        <string>Default-568h</string>
        <key>UILaunchImageOrientation</key>
        <string>Portrait</string>
        <key>UILaunchImageSize</key>
        <string>{320, 568}</string>
    </dict>
 
Upvote 0
Upvote 0
thanks @Erel ,

the boot color is correct now.

but the black panel under the "header" is still there for about 0.5s

screenshot2.png
 
Upvote 0
I noticed the same with my app. I think the reason is iPhone 4 is too slow, on iPhone 6 it starts immediately without "the gap".
 
Upvote 0
well the question is where that black gap is coming from and why I don't have that with the stock apps
 
Upvote 0
well the question is where that black gap is coming from and why I don't have that with the stock apps

The real question is: is it really bothering you if 0.5 sec a blackscreen appear??
 
Upvote 0
to be honnest, yes. :)

It could be some kind of malconfigured thing in the package or maybe standard behaviour.

I'll install some none B4A made app from the app store and see if they have it too.

Maybe the stock apps are kind of preloaded/prefetched during the OS boot to bypass this.
 
Upvote 0
Back
Top