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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:25:35+00:00 2026-05-23T08:25:35+00:00

I have some iAd/AdMob supported apps on the iOS app store. I notice every

  • 0

I have some iAd/AdMob supported apps on the iOS app store. I notice every time a iOS beta comes out, ad requests plummet. I’m assuming this is due to many people running the beta OS, and therefor almost always get a iAd test ad. Is there some way my code can detect if an app is on a beta OS version? This way I could default to AdMob so I get some revenue.

  • 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-23T08:25:36+00:00Added an answer on May 23, 2026 at 8:25 am

    It’s not a particularly pretty way to do it, but you could read the device version and compare it to the highest current known release version, and revert to AdMob if the device version is higher.

    This will get the device version as a string:

    [[UIDevice currentDevice] systemVersion]
    

    You can convert this to a float value and compare it to a hard-coded version, but this would mean deploying a new version once the new iOS is released:

    if ([[[UIDevice currentDevice] systemVersion] floatValue] > 4.3) 
    {
        // revert to AdMob...
    }
    

    As a slightly better solution you could request the current maximum iOS release version from a website… just drop a iosversion.txt file on your site with the contents “4.3” and use that to control the switch.

    Unfortunately there doesn’t seem to be a [[UIDevice currentDevice] isBeta] type method.

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

Sidebar

Related Questions

I have an iPhone app that uses a UINavigationController, some table views, and iAd.
I have some code here that uses bitsets to store many 1 bit values
My app just uploaded to the app store and for the first time I
Have some runtime defined schedule for one week, for example: <schedule> <s day=Monday, time=1:00:00></s>
I have some classes layed out like this class A { public virtual void
I have some code like this in a winforms app I was writing to
I have some submodules organized like this: |-- app | |-- models | |
Have some text files that I need to break out the individual words. But
I have some data loaded as a np.ndarray and need to convert it to
I have some arbitrary pixel data that I want to save as a PNG.

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.