splash-screen

ios fade out splash screen (iphone 5 friendly)

China☆狼群 提交于 2019-11-29 02:27:00
I'm wanting to spoof the feel of the main splash screen fading out whenever applicationDidBecomeActive is called, but it's not working. What am I doing wrong? - (void)applicationDidBecomeActive:(UIApplication *)application { if(IS_IPHONE_5) splash = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Default-568h.png"]]; else splash = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Default.png"]]; [self.window.rootViewController.view addSubview:splash]; [UIView animateWithDuration:0.5 animations:^{ splash.alpha = 0; } completion:^(BOOL finished) { [splash removeFromSuperview]; }]

Displaying splash screen in Delphi when main thread is busy

痴心易碎 提交于 2019-11-29 01:43:12
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 screen, eg alt-tabbing to another application and back. You can run the splash screen in another

iOS Animated Splash Screen

人盡茶涼 提交于 2019-11-29 01:10:35
问题 Is it possible to add an .fla file as splash screen in iOS development? If not what are the other formats of animated files does a splash screen accept? Does it accept animated gifs? or .swf files? or do i have to write the animation frame by frame. If so what is the procedure? Do i have to add it the same way i add an image just have the extension differ? I have an .fla file that i would like to add to my code. Unfortunately i couldn't find any material on whether this is feasible or not.

iOS 7 launch image (splash screen) fades out

别等时光非礼了梦想. 提交于 2019-11-29 00:56:33
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. Alex R. R. I have managed to do that in the AppController. Just place this code right after the creation of the glView UIImage* image = [UIImage

Is there an equivalent apple-touch-startup-image for the IPAD?

谁都会走 提交于 2019-11-29 00:52:56
问题 For web apps you can set the startup screen with apple-touch-startup-image What about for iPads? 回答1: I had the same issue as well... You need to you use a specific size of 1004*768. i explained it in this blog: http://www.amirnaor.com/?p=71 回答2: This will add a Splash Screen to your Web App. Below are the sizes you’ll need for both iPad and iPhone/iPod Touch, and iPhone 5. These include the status bar area as well. <!-- iPhone --> <link href="http://www.example.com/mobile/images/apple-touch

Activity that is only launched once after a new install?

佐手、 提交于 2019-11-28 22:03:39
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? Emmanuel Sys 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(savedInstanceState); SharedPreferences settings = getSharedPreferences("prefs", 0); boolean firstRun

iPhone 5 splashscreen not displaying correctly - Phonegap

…衆ロ難τιáo~ 提交于 2019-11-28 20:27:11
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 of two possible scenarios: 1) Both images are displayed simultaneously but for some reason the 5 auto

SplashScreen with Vector stretched full screen

痴心易碎 提交于 2019-11-28 19:42:24
问题 I did my splash screen with this tutorial and it works great. https://www.bignerdranch.com/blog/splash-screens-the-right-way/ Basically I set up a splascreen through theme: <style name="ThemeSplash" parent="Theme.AppCompat.NoActionBar"> <item name="android:windowBackground">@drawable/drawable_splashcreen</item> </style> I wanted to put a vector image inside like this: (drawable_splashcreen) <item android:drawable="@color/color_background_splash_screen" /> <item android:drawable="@drawable

Video as a Splash Screen instead of Picture

岁酱吖の 提交于 2019-11-28 19:40:47
I am doing the Android Programming Tutorial on Splash Screens where you show a picture or text for 5 Seconds than it goes to the Main Application. My Question is..Instead of Text or Pictures I want to display a Video File for 5 Seconds before it goes to the Next page of the Application. I am not talking about when the Application Loads I am talking about when it is Loaded and you program it to display something on a Separate Java & XML page to display something then move to something else..here is my current code. @Override protected void onCreate(Bundle SplashScreen1) { // TODO Auto-generated

Emulating splash video in iOS application

十年热恋 提交于 2019-11-28 17:39:56
OK, there are very few options to emulate the splash video in iOS. All we can do is wait till application is fully loaded and then create Media Player and load video in it. I implemented it with following code: -(void) moviePlayBackDidFinish:(NSNotification*)notification { NSLog(@"Intro video stopped"); [mMoviePlayer release]; } - (void)applicationDidFinishLaunching:(UIApplication *)application { NSURL* mMovieURL; NSBundle *bundle = [NSBundle mainBundle]; if(bundle != nil) { NSString *moviePath = [bundle pathForResource:@"intro" ofType:@"mp4"]; if (moviePath) { mMovieURL = [NSURL