splash-screen

Splash screen display method best practice C#

社会主义新天地 提交于 2019-11-27 18:24:40
问题 I am showing a splash form by starting a new thread immediately before running my main form. In the method that is run by this thread, I am using Application.Run as shown in Option 1 below. Is this a correct way of doing this, or are there problems waiting for me becaue I have called Application.Run twice? An alternative is Option 2, also shown below where I call .ShowDialog() to display the form. The splash form itself closes after a specified time, controlled within the form itself, and

iPhone - Splash Screen with progress bar

纵然是瞬间 提交于 2019-11-27 16:58:47
问题 I tried to create a SplashView which display the Default.png in the background and a UIProgressBar in front. But the splash screen is not being updated... Inside my view controller I load first the splash view with a parameter how many steps my initialisation has and then I start a second thread via NSTimer and after each initialisation step I tell the SplashView to display the new progress value. All looks good in theory, but when running this app the progress bar is not being updated (the

Displaying splash screen in Delphi when main thread is busy

跟風遠走 提交于 2019-11-27 16:12:39
问题 I'd like to display splash screen while the application is loading. However some 3rd party components block main thread during initilization for several seconds, which causes all forms not to update. Is it possible to have splash screen with own thread so it would update also when main thread is busy? The application is win32 and Delphi version 2007. Edit: I'm trying to avoid "undrawn splash screen" effect, which happens if some other windows (from other applications) are on the top of splash

iOS 7 launch image (splash screen) fades out

有些话、适合烂在心里 提交于 2019-11-27 15:28:55
问题 On iOS 7, launch images fade out instead of disappearing immediately when the app is loaded. Is there any setting to prevent this launch image fade out animation? I need it to disappear immediately just like in the iOS 6 and earlier. Edit for answers: Yes, it is possible to add the splash image as a UIImageView to the top window and hide it after splash fade animation is completed. But this causes a delay of 0.4 seconds which I'm trying to avoid. 回答1: I have managed to do that in the

Activity that is only launched once after a new install?

不打扰是莪最后的温柔 提交于 2019-11-27 14:25:45
问题 I want my app to have an activity that shows instruction on how to use the app. However, this "instruction" screen shall only be showed once after an install, how do you do this? 回答1: You can test wether a special flag (let's call it firstRun ) is set in your application SharedPreferences . If not, it's the first run, so show your activity/popup/whatever with the instructions and then set the firstRun in the preference. protected void onCreate(Bundle savedInstanceState) { super.onCreate

Cordova 3.4 iOS white screen after splash

旧街凉风 提交于 2019-11-27 13:44:58
I have been looking around at a few different posts on here concerning this issue and nothing has solved my problem. After my splash screen loads and displays for ~2 seconds there is a white screen that shows for about 2 seconds and then the app content displays. This issue only exists on iOS and only when I run the emulator on 3.5" with iOS 6.1 and 7. I have <preference name="AutoHideSplashScreen" value="false" /> so I can manually control when the splash screen hides in the deviceready event as such: function onDeviceReady() { setTimeout(function () {navigator.splashscreen.hide()},2000); /

iPhone 5 splashscreen not displaying correctly - Phonegap

社会主义新天地 提交于 2019-11-27 12:56:26
问题 I'm updating my PhoneGap iOS-app to make it compatible with the iPhone 5. I'm manually hiding the splash screen after my app has initialized. When simulating iPhone 5: When the app starts it displays the correct splash screen (Default-568h@2x.png) (hereon "the 5") but quickly hides it and instead displays the iPhone 4 splash screen (hereon "the 4"). The 4 doesn't cover the whole app, thus showing top and bottom bars of the app initializing. I'm not entirely sure how it works but I can think

Change iPhone splash screen time [duplicate]

丶灬走出姿态 提交于 2019-11-27 12:15:11
This question already has an answer here: Making the launch image display longer xcode 8 answers How would I make the splash screen stay for longer, 5 seconds, for example? iamsult You need to create a view controller for displaying the splash screen as done below. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [self generateRandomSplashScreen]; [self performSelector:@selector(removeSplashScreen) withObject:nil afterDelay:SPLASHSCREEN_DELAY]; [self otherViewControllerLoad]; // the other view controller [self.window

Changing the status bar text color in splash screen iOS 7

…衆ロ難τιáo~ 提交于 2019-11-27 10:46:15
I know that are already some stackoverflow questions that say how to change the status bar for all view controllers. I am currently changing the color of status bar this way: if(IS_IOS7) [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; In the application:DidFinishLaunching Additionally, I have changed the value of UIViewControllerBasedStatusBarAppearance in the plist to NO . However, in the splashscreen it stills shows the status bar text with the black color. Is it possible to change the color of the status bar text color in the splash screen ? In the

How to integrate splash screen for all types of iPhones in Xcode 6.1?

邮差的信 提交于 2019-11-27 10:37:05
I need to create and app which will run on iPhone 4S, 5,5S, 6, 6+ and the deployment target will be iOS 7.1. I saw Apple introduced LauchScreens.xib for creating the launch screen (Splash Screen) and also there is an Image Assets in which I can provide the Launch Images screens. See image below: So my questions is how can I use the splash screen for all the iPhones? Or I should say, what is the standard way to to do that when I am using Xcode 6? I have been looking for the answers and reading blogs and Apple's Documents as well but I didn't find anything. Everything was singing its own song