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

  • Home
  • SEARCH
  • 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 335235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:07:48+00:00 2026-05-12T10:07:48+00:00

I have an IPhone application that I want to attempt login and do some

  • 0

I have an IPhone application that I want to attempt login and do some initial setup before showing the UI. I currently have my Default.png set to an image and I have a view that has that same image. When my app loads the Default.png loads and then my loading screen loads. The loading screen is the view for my root view controller in the MainWindow.xib. After loading my app will show a tab bar controller that is created programmatically in the root view controller.

I want to be able to animate between the loading view ( which is defined in MainWindow.xib) and my tab bar controller ( defined in the root view controller ). I am just doing

self.view = tabBarController.view;

to switch views. I have noticed that that doesn’t work when wrapped with UIView animations. My question is how should I be switching views. I tried addSubView and insertViewAtIndex and these both do the animation, but leave the 20px status bar gap at the top of the screen ( underneath the already existing status bar ). I assume there is something simple, but I’m not sure what it is.

  • 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-12T10:07:48+00:00Added an answer on May 12, 2026 at 10:07 am

    You should not do self.view=tabController.view…what type of animation do you want? Have you considered using a NavigationViewController ? pushing to the NavigationController s tack will allow you to animate the transitions (pushing the new view in). Other options you have without using a navigation view controller is using presentModalView:animated method in UIViewController, you can also define your animations when using addSubview, the metronome example project in the apple site shows how to go about it when y ou click the info button heres a link https://developer.apple.com/iphone/library/samplecode/Metronome/ . hope this helps

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

Sidebar

Related Questions

I have an application that works some what similar to how iPhone's Contact application
I have a fairly simple iPhone application that I want to have run on
i have created a music greetings application in iphone. I want that when a
I have an iPhone application with a settings.bundle that handles various settings for my
I have a webview in my iPhone application, and I also have some html
I am building application that required some data from iPhone's Call log(read only). The
I have an iPhone application that needs to be updated as soon as a
I have an iPhone application that uses a timer and at every time interval
I have an iPhone application that contains several views and their associated controllers. Looking
I want to have my iPhone application create a PDF file and store it

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.