Can Managed.Windows.Forms be used in MonoTouch?

I have a .NET app that I am porting to Mono, so it can work on both Mac and iOS. My application is currently using System.Windows.Forms for mouse and keyboard events. In MonoMac, I know I can just hide the code with minimal settings, but can I do the same with MonoTouch?

+3


source to share


1 answer


System.Windows.Forms does not work on iOS using MonoTouch as it (currently) relies on the Carbon apis, which is only present in OS X. Windows Forms is the user interface for the PC, and even if it works on iOS via MonoTouch your application will be unusable, to say the least.



You need to rewrite the user interface to use the MonoTouch api, which will provide a better user experience.

+5


source







All Articles