MonoTouch Tip #1 – Creating a simple Message Box function

11May

Even in the most simple applications you will often need to display messages to the user. Hopefully it will be just useful information and only occasionally an error message. If you have created a single view iPhone application it may be an overkill to create an error handling framework. This sample will add simple Message Box functionality to your view class.
[Flags]
internal enum MButtons
{
OK = 1,
Cancel = 2
};