[MonoTouch] Sopporting ios 4 and ios 5

Rolf Bjarne Kvinge rolf at xamarin.com
Thu Oct 6 17:58:45 EDT 2011


Hi Art,

We've very recently discovered that there are a few issues you can
easily run into when deploying applications built with the iOS5 sdk on
iOS4 devices (in particular it will crash immediately upon startup).
If you run into any such issues, just ask and attach the corresponding
crash log, and I can explain how to work around it (in some cases
we'll always link with iOS5 frameworks, which will cause the
application to fail to load on older devices. The fix is to build
against the iOS4 sdk and add the required frameworks manually using
-weak_framework in mtouch' extra arguments).

Rolf

On Thu, Oct 6, 2011 at 8:42 PM, Jeff Stedfast <jeff at xamarin.com> wrote:
> Hi Art,
> Yes, this should be possible to do. What you'll need to do is check the iOS
> version (MonoTouch.UIKit.UIDevice.CurrentDevice.SystemVersion) and depending
> on the value, take different code paths in your app providing
> differentfeatures depending on the underlying iOS version.
> Hope that helps!
> Jeff
>
> On Thu, Oct 6, 2011 at 2:31 PM, Art <coderprojects at gmail.com> wrote:
>>
>> Is it possible to support both ios 4 and ios 5? I want to use new ios 5
>> cloud api. I also want the ios4 users to be able to use the app without
>> the
>> cloud.
>>
>>
>> Thanks
>> Art
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/Sopporting-ios-4-and-ios-5-tp3879479p3879479.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>


More information about the MonoTouch mailing list