Note that there are some explanatory texts on larger screens.

plurals
  1. POi am getting 2 different images in place of splash screen
    primarykey
    data
    text
    <p>I am getting an different image at the start of the app like a splash screen then i am getting my actual image that i placed in coding. I placed the splash screen with the following code in my <code>didFinishLaunchingWithOptions:</code></p> <pre><code> - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window.rootViewController = self.tabBarController; self.tabBarController.delegate=self; [window addSubview:tabBarController.view]; [self.window makeKeyAndVisible]; LoginViewController *vc = [[LoginViewController alloc] initWithNibName:@"LoginViewController" bundle:nil]; self.loginNav = [[UINavigationController alloc] initWithRootViewController:vc]; NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; if([userDefaults valueForKey:@"UserName"] &amp;&amp;[userDefaults valueForKey:@"Password"]) { vc.username=[userDefaults valueForKey:@"UserName"]; vc.password=[userDefaults valueForKey:@"Password"]; vc.autoLogin=YES; [vc loginSelectorMethod]; } else { [self.window addSubview:self.loginNav.view]; [self.window makeKeyAndVisible]; } splashView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)]; splashView.image = [UIImage imageNamed:@"splashscreen.png"]; [window addSubview:splashView]; [window bringSubviewToFront:splashView]; [self performSelector:@selector(removeSplash) withObject:nil afterDelay:3.0]; [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0]; NSLog(@"Registering for remote notifications"); [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0]; [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound)]; return YES; } </code></pre> <p>Before the splash screen appears , the "Arrow.png" image appears then my splash screen appers. If i delete the "Arrow.png" then in place of that image another images appears i.e., "aboutus.png" like that it continues.</p> <p>I searched in my project for the "Arrow.png" it only appears once in my whole project in the coding.</p> <p>Please guide me Thanks a lot i advance</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload