On Thu, Sep 27, 2012 at 10:26 PM, Adam Kemp <[email protected]> wrote: > You can support iPhone 5 (taller screens) by just including a splash > screen with the right size. That's how the iPhone 5 decides whether to > letterbox your app. You don't actually need to use any particular version > of the SDK.
Yup, this is true :) > > If you want to actually call newer APIs then you have a bigger problem. It > is possible with ObjectiveC to check whether a method exists at runtime, > and that's often how you detect whether a feature is supported. You could > probably link against the old SDK and still use some of those new > features. It just might be very tedious. > It's VERY tedious. I have some code to do this: https://gist.github.com/2311681 But you can also use if (UIDevice.CurrentDevice.CheckSystemVersion (6,0)) { (or 5,0, or 5,1 etc). I needed to know if it was 5.0, specifically - not 6.0 or 4.0, so I use a more long-winded check (which is also prone to bugs :( ) > I am nearly certain that Apple does not reject apps which don't link > against the latest SDK. I'm open to being proved wrong, but I have > anecdotal evidence to the contrary, and I have been unable to find > anything from Apple that says you have to link against the latest SDK. For > one thing that would make your situation impossible. Plus it's just > annoying as hell to have to upgrade SDKs for no good reason. I can't find a specific reference, tho it was the case. Just keep using 4.4 for a while, and eventually, they'll stop (or not). :) -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
