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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:05:48+00:00 2026-05-13T11:05:48+00:00

If I set the Base + Active SDK of an iPhone app to 3.0

  • 0

If I set the Base + Active SDK of an iPhone app to 3.0 and the Deployment Target to 2.2, can I use the new versions of functions on 2.2 devices?

For example, UITableViewCell now requires an image to be set using [cell.imageView setImage:image], whereas in 2.2, you’d call [cell setImage:image]. Will using the new [cell.imageView setImage:image] crash on 2.2 devices?

  • 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-13T11:05:49+00:00Added an answer on May 13, 2026 at 11:05 am

    Nope you cannot us OS 3.0 calls on 2.2. Deprecated method should be behave as normal at least in OS 3. Deprecation in many cases in the OS, just means that Apple recommend using new methods rather then deprecated ones; but those methods may disappear in the future too.

    You have few options:

    1. Simply ignoring the warnings, as long as app and methods actually work on OS 3.0.
    2. Have a runtime check to determine the OS version, and invoke the appropriate method:

      double version = [[[UIDevice currentDevice] systemVersion] doubleValue];
      if (version >= 3.0) {
          [cell.imageView setImage:image];
      } else {
          [cell setImage:image];
      }
      

      or better yet:

      if ([cell respondsToSelector:@selector(imageView)]) {
           [cell.imageView setImage:image];
      } else {
           [cell setImage:image];
      }
      

      Note that a compile time check, using ifdef directives won’t work

    3. Dropping OS 2.2 support. It’s quite reasonable for you to only target 3.0 as well, as the uptake of 3.X is quite high. In the case of my small app, in December I had 27 users on pre-3.0 systems out of 2,058 users. Needless to say, this option reduces your testing need significantly.

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

Sidebar

Related Questions

I know about the difference between the base/active SDKs and the deployment target. I
Can someone tell me why creating a new project with an iOS Deployment Target
class FxRate { string Base { get; set; } string Target { get; set;
If I set this in my environment config.action_controller.cache_store = :mem_cache_store ActionController::Base.cache_store will use a
I'm new to iPhone programming and I'm trying to use CHDataStructures in my project.
Looking for a good set of base objects to start a website up in
Is it possible to set a base url on a page with a relative
I'm trying to set up integration tests using the AbstractTransactionalJUnit4SpringContextTests base class. My goal
I have a abstract base class A and a set of 10 derived classes.
We are using a base class where we set the background picture. That code

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.