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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:24:10+00:00 2026-05-16T23:24:10+00:00

I have a program that ran in iOS 2.0 and now am making some

  • 0

I have a program that ran in iOS 2.0 and now am making some updates to it. I don’t think I have done anything that won’t be available in 3.0, but I don’t have a 3.0 device around to test it on. I do know that I updated one deprecated function addTimeInterval to the new version dateByAddingTimeInterval

a few questions –

1) Is there any way to get XCode to highlight any code that was deprecated in a prior OS version?

2) If I set the target to 3.0, and it compiles file, does that necessarily mean that I didn’t call anything that 3.0 can’t run?

3) I have an old 3GS that I had upgraded to 4.0. Is there any way I can get a 3.0 or 3.1 restore file so I can just downgrade that iPhone and use it as a testbed?

Thanks

  • 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-16T23:24:11+00:00Added an answer on May 16, 2026 at 11:24 pm

    1) Is there any way to get XCode to
    highlight any code that was deprecated
    in a prior OS version?

    Xcode does so automatically due to the existence of C macros that signal deprecation, i.e.:

    UIKIT_EXTERN NSString *const UIKeyboardBoundsUserInfoKey        __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,__MAC_NA,__IPHONE_2_0,__IPHONE_3_2);
    

    2) If I set the target to 3.0, and it
    compiles file, does that necessarily
    mean that I didn’t call anything that
    3.0 can’t run?

    No, because it’s not the Deployment Target that matters here, it’s the Base SDK setting that matters. For example, if you set your Base SDK to 4.1 and Deployment Target to 3.1.3, and then compile the following code:

    if (UI_USER_INTERFACE_IDIOM == UIUserInterfaceIdiomPad)
    

    It will compile fine, but it will result in a run-time error on a 3.1.3 device (actually, any device running <3.2)

    3) I have an old 3GS that I had
    upgraded to 4.0. Is there any way I
    can get a 3.0 or 3.1 restore file so I
    can just downgrade that iPhone and use
    it as a testbed?

    It is not possible to roll the firmware back on iPhones (although I’ve read that it is possible to rollback firmware on iPod Touches, but I haven’t tried).

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

Sidebar

Related Questions

I have a program that spits out both standard error and standard out, and
I have a program that creates a Windows user account using the NetUserAdd() API
I have a program that uses the mt19937 random number generator from boost::random. I
I have a program that spits out an Excel workbook in Excel 2003 XML
I have a program that monitors debug messages and I have tried using a
I have a program that will calculate the minimal area taken by fitting rectangles
I have a program that runs osql.exe from microsoft sql server tools directory and
I have a program that I need to run under *nix and windows. because
I have a program that when it starts, opens a winform (it is the
I have a program that can have a lot of parameters (we have over

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.