开发者

Backward compatibility when using iOS 4.0 libraries

I'm looking to use UISwipeGestureRecognizer for implementing a tweetie like interface for my application. (Replacing the view of a tableview cell with a custom view on detecting a swipe) However, this API was added only in version 3.2+ of iOS. I need to support all the devices running OS versions 3.0+, so I'm not sure what to do in this scenario. It seems to be a t开发者_开发百科errible waste of effort to implement the swipe detection myself when Apple has already done it (not to mention the possibility of ending up with a lower quality output), but it looks like it's a fairly common scenario. How should I handle this?

Thanks in advance,

Teja.


You have quantified the problem quite accurately.

In short, you can't use it <3.2. Even if it existed as an undocumented API, Apple would reject the app for doing so.

I think you're "okay" with supporting >=3.2 as I believe the lion's share of people use that now - but I'm just speaking off the cuff.

We have these same issues when releasing apps under 4.0 - wanting to add stuff like Multitasking support - and cutting off 3.x users.

Apple should allow multiple app versions to support multiple OS versions - but - they don't!

Sorry for the bad news - but I'm in the middle of sorting out a similar issue right now, making a universal application for iPad (3.2) and iPhone (4.0) - and having to basically choose between multitasking or iPad support!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜