S sorex Expert Licensed User Longtime User Aug 18, 2015 #1 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 ?
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 ?
ilan Expert Licensed User Longtime User Aug 19, 2015 #21 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+ 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+
S sorex Expert Licensed User Longtime User Aug 19, 2015 #22 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
S sorex Expert Licensed User Longtime User Aug 19, 2015 #23 yes, Ilan. it's mentioned at the bottom Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 19, 2015 #24 ilan said: 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+ Click to expand... 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
ilan said: 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+ Click to expand... 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.
ilan Expert Licensed User Longtime User Aug 19, 2015 #25 Erel said: 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. Click to expand... You are right, sorry... So if i change the image i wont get a black screen at app lauch? Upvote 0
Erel said: 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. Click to expand... You are right, sorry... So if i change the image i wont get a black screen at app lauch?
S sorex Expert Licensed User Longtime User Aug 19, 2015 #26 I create a white 640x960 image and copied it to the files\special as Default@2x.png added this to that plist file B4X: <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? B4X: <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
I create a white 640x960 image and copied it to the files\special as Default@2x.png added this to that plist file B4X: <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? B4X: <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>
Erel B4X founder Staff member Licensed User Longtime User Aug 19, 2015 #27 I've updated the tutorial with the code required for iPhone 4s. It is: B4X: <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597/#content Upvote 0
I've updated the tutorial with the code required for iPhone 4s. It is: B4X: <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597/#content
S sorex Expert Licensed User Longtime User Aug 19, 2015 #28 thanks @Erel , the boot color is correct now. but the black panel under the "header" is still there for about 0.5s Upvote 0
thanks @Erel , the boot color is correct now. but the black panel under the "header" is still there for about 0.5s
S susu Well-Known Member Licensed User Longtime User Aug 19, 2015 #29 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
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".
S sorex Expert Licensed User Longtime User Aug 20, 2015 #30 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
ilan Expert Licensed User Longtime User Aug 20, 2015 #31 sorex said: well the question is where that black gap is coming from and why I don't have that with the stock apps Click to expand... The real question is: is it really bothering you if 0.5 sec a blackscreen appear?? Upvote 0
sorex said: well the question is where that black gap is coming from and why I don't have that with the stock apps Click to expand... The real question is: is it really bothering you if 0.5 sec a blackscreen appear??
S sorex Expert Licensed User Longtime User Aug 20, 2015 #32 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
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.
Erel B4X founder Staff member Licensed User Longtime User Aug 20, 2015 #33 You will only see this short gap on old devices such as iPhone 4s. You can try to minimize it by deferring the layout loading with CallSubDelayed and setting the RootPanel.Color (I haven't tried it). On iPhone 5+ you will not see any gap. Upvote 0
You will only see this short gap on old devices such as iPhone 4s. You can try to minimize it by deferring the layout loading with CallSubDelayed and setting the RootPanel.Color (I haven't tried it). On iPhone 5+ you will not see any gap.