Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6992119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:35:36+00:00 2026-05-27T19:35:36+00:00

Am working in iPad app. I have 4 images for Splash screen (Landscape Right,Left

  • 0

Am working in iPad app. I have 4 images for Splash screen (Landscape Right,Left and Portrait,PortraitUpsideDown). When i launch the app in Portrait mode the Splash screen appears good, but it i change the orientation to Landscaper the Splash screen does not changes their orientation. Can you please suggest me any ideas? Today i need to submit the app. Please help me. Thanks in advance. Here is my code,

 -(void) showSplash
{
    UIInterfaceOrientation orientation= [[UIApplication sharedApplication] statusBarOrientation];
    if (orientation == UIInterfaceOrientationLandscapeLeft ||
        orientation == UIInterfaceOrientationLandscapeRight)  //  UIDeviceOrientationLandscapeLeft
    {       
        NSLog(@"Splash Landscape");
        UIViewController *splash=[[UIViewController alloc] init];
        splachview=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 1024, 768)];
        splachview.image=[UIImage imageNamed:@"Default-Landscape.png"];
        [splash.view addSubview:splachview];

        splachview.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
        splachview.contentMode = UIViewContentModeTop;

        [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:NO];
        [self presentModalViewController:splash animated:NO];
        [self performSelector:@selector(hideSplash) withObject:nil afterDelay:10.0];
        [splash release];
        [splachview release];
    }
    else if (orientation == UIInterfaceOrientationPortrait ||
             orientation == UIInterfaceOrientationPortraitUpsideDown) //  UIDeviceOrientationPortrait
    {
        NSLog(@"Splash Portrait");
        UIViewController *splash=[[UIViewController alloc] init];
        splachview=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 768, 1024)];
        splachview.image=[UIImage imageNamed:@"Default-Portrait.png"];
        [splash.view addSubview:splachview];

        splachview.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
        splachview.contentMode = UIViewContentModeTop;

        [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:NO];
        [self presentModalViewController:splash animated:NO];
        [self performSelector:@selector(hideSplash) withObject:nil afterDelay:10.0];
        [splash release];
        [splachview release];
    }   
}

Please correct my mistake. The splash screen does not change its orientation. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:35:36+00:00Added an answer on May 27, 2026 at 7:35 pm

    Name your splash files as

    Default-Landscape.png and Default-Landscape.png for iPad
    Default.png' andDefault@2x.png` for iPhone.

    Remember file names are case sensitive so double check them

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working on an iPad app. My app contains some PDF and
I have an Ipad app what has multiple OpenGL tile images, couple buttons in
I am working on an iPad app with a split view controller. I have
I have developed the ipad app which displays images and other product details from
I am working on a iPad drawing app.. were i have a UIView class
My ipad app is working correctly, the only problem is with launch image. i
I have an ipad app which takes images from Photos application using ALAssetsLibrary and
I have been working with Core Data in an iPad app and I can
I am working on an iPad app. I have a viewcontroller which I want
I'm working on an iPad-App with ARC which have to display thousands of UIImageViews

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.