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 9060167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:09:21+00:00 2026-06-16T15:09:21+00:00

We have a tab-heavy app, which has 5 tabs to use back and forth.

  • 0

We have a tab-heavy app, which has 5 tabs to use back and forth. We have iAds and admobs(as backup for countries without iAd), and we ‘call’ the ads in viewDidLoad. Would it make a difference to call them in viewDidAppear instead? And then remove them in viewDidDisappear or shomething not to screw up the frames etc? Would this give more impressions etc?

  • 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-06-16T15:09:22+00:00Added an answer on June 16, 2026 at 3:09 pm

    viewDidLoad:

    viewDidLoad
    Called after the controller’s view is loaded into memory.

    - (void)viewDidLoad
    

    Discussion
    This method is called after the view controller has loaded its view hierarchy into memory. This method is called regardless of whether the view hierarchy was loaded from a nib file or created programmatically in the loadView method. You usually override this method to perform additional initialization on views that were loaded from nib files.


    viewDidAppear:

    viewDidAppear:
    Notifies the view controller that its view was added to a view hierarchy.

    - (void)viewDidAppear:(BOOL)animated  
    

    Parameters
    animated
    If YES, the view was added to the window using an animation.
    Discussion
    You can override this method to perform additional tasks associated with presenting the view. If you override this method, you must call super at some point in your implementation.

    Answering

    So viewDidLoad is called slightly earlier than viewDidAppear: , the only difference is that when viewDidAppear: the view have been already drawn, instead in viewDidLoad the view has still to be drawn.

    So answering to your questions:

    Would it make a difference to call them in viewDidAppear instead?

    If calling the ads is a slow operation, then you would see first the view appearing in it’s color, and the ads after a few interval of time.However this has to be too slow to make a real difference.

    And then remove them in viewDidDisappear or shomething not to screw up the frames etc?

    It doesn’t “screw up frames”, that for sure.

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

Sidebar

Related Questions

I have a tab view which has a listview in one of these tabs.
I have a tab navigation page in my rails app which is shared across
Here's the problem. In my app, I have 5 tabs which contains activities. In
I have tab bar in which one tab has a UINavigationController that is assigned
We have designed an hybrid app which is a bit heavy (9 MB). Problem
I have a tab delimited file which looks like this: CHROM <TAB> POS <TAB>
I have tab based application which also have Navigation controllers, When the user in
I have tab bar application and when i press on one of the tabs
I have tab layout.That has only icons not text.I tried with clickOnImageButton and ClickOnButton
I have a form with 2 tabs. The first tab is boring, the second

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.