Compatible with Monotouch 5.0 and iOS 4.3

I have an application developed using Monotouch 4.0.7. This app works on iPads with iOS 4.3. Now I want to upgrade to the latest version of Monotouch 5.0. Will I be able to host my application on the iPad with iOS 4.3? Or Monotouch 5.0 only for iOS 5.0?

+4
source share
2 answers

Yes, you can develop for iOS 4.3 (or even earlier versions of iOS) using MonoTouch 5.0.

To set the minimum version of iOS that your application requires, go to the project settings, and on the iPhone Application page, set the Deployment Target to the minimum version.

Keep in mind that MonoTouch will not tell you if you are using the iOS 5.0 API in your application. You can add iOS 5.0 features to your application, but you should not try to use these features in a lower version ( here , you can see how to do it).

+5
source

You can upgrade to Monotouch 5.x without any problems. In Monodevelop, change the SDK to 5.x Just make sure your deployment target remains 4.3 if you still want to target this platform. You should pay attention not to calling any methods that are not in 4.3 . If you want to have different / enhanced behavior on iOS 5 devices, you can check the OS version and use a different code branch.

Another small thing that needs to be prepared for: iOS5 behaves differently in some situations. For example, if you have hierarchical UIViewControllers, iOS5 will automatically trigger all UI events, such as ViewWillAppear (), even if you are not using the new hierachy UIViewControllery API. What I want to say: thoroughly test the application on both versions of iOS.

+4
source

Source: https://habr.com/ru/post/1394552/


All Articles