Recommended way to support backward/forward compatibility in iPhone app?

后端 未结 1 724
礼貌的吻别
礼貌的吻别 2020-12-18 03:59

I\'m in the early stages of an iPhone app and I have a question. I did some searching but did not find what I was looking for.

There are features in iPhone OS4 that

相关标签:
1条回答
  • 2020-12-18 04:35

    Yes, that's exactly how you do it!

    The only other trick I can think of that you have not already mentioned is that you build against the latest SDK (i.e., 4.0 in this case) and set the target to be the earliest you want to support (3.0 in this case).

    You might like to try using the 3.2 SDK to create a universal (iPhone/iPad) app. This is an Apple template that uses this same method to work with two different APIs.

    0 讨论(0)
提交回复
热议问题