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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T09:13:03+00:00 2026-05-21T09:13:03+00:00

So, am attempting to use one AdBannerView for my two views in an application

  • 0

So, am attempting to use one AdBannerView for my two views in an application I am building. The views consist of a main view that shows data, and an editing view that allows the user to edit the data. I would like the banner to display on both views as appropriate (i.e. when they are viewing data or editing data).

I have attempted to follow the tutorial that Apple provides, specifically the iAdSuite tutorial, using the AdBannerNavigation tutorial as an example. The problem is that they base all of their event structure – i.e. when they add and remove the banner from the views, and set themselves as the delegate of the banner – on when the views load and unload. Since my main view never unloads (as it is controlling large portions of the data), how can I have it pay attention to events to follow this simlar behavior? Should it be on viewWillAppear/viewWillDisappear? Or on the “did” version of both of those? Or is there some other event that I am missing that I should pay attention to?

  • 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-21T09:13:04+00:00Added an answer on May 21, 2026 at 9:13 am

    So, after banging my head against the wall some more, I figured out a few things.

    What I did was make it work on the viewDidAppear and viewWillDisappear methods for both UIs. I also found that my bindings (struts?) for the view pieces in the interface builder were not correctly set up – I had to fix those so that the items were willing to contract in a vertical direction.

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

Sidebar

Related Questions

I am attempting to use a button to go from one View (XIB) to
I'm attempting to use R to merge data columns into one tab-delimited matrix. When
Attempting to use the data series from this example no longer passes the JSONLint
In attempting to use std::select1st from <functional> in a VS2008 project I found that
I am currently attempting to use Lucene to search data populated in an index.
I'm attempting to use document.location(.href) on the onLoad event to redirect from one page
I'm attempting to use VBAs Application.OnTime method to call a function every minute. The
I'm attempting to use thumbnail images as buttons in JQM. I'm aware that JQM
I'm attempting to use symmetric encryption to encrypt some data, and store the key
I have the following Groovy code snippet that is attempting to use operator overloading

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.