J'ai finalement trouvé comment faire disparaître l'écran de démarrage, mais il rétrécit à 640x920 juste avant de le faire. Voici une vid: http://www.youtube.com/watch?v=qUXrq-uHlVkiOS Splash Fade Shing Shing Thingy
Quelqu'un sait-il comment résoudre ce problème? Voici le code que je utilise:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
UIImageView *splash = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Default.png"]];
[self.window.rootViewController.view addSubview:splash];
[UIView animateWithDuration:1.0
animations:^{
splash.alpha = 0;
}
completion:^(BOOL finished) {
[splash removeFromSuperview];
}];
return YES;
}
Ce n'est pas une capture d'écran, mais j'ai une barre noire en haut de l'image. En utiliser un sans barre noire fait la même chose, et je crois que l'image est "smushed" pas décalée vers le bas. –