コード例 #1
0
        void ErrorMessageDialog(string title)
        {
            var dialog      = new Helpers.MessageDialog();
            var errorDialog = dialog.BuildErrorMessageDialog(title, "");

            PresentViewController(errorDialog, true, null);
        }
コード例 #2
0
        // TODO: given this is in all controllers, should make a super class to reduce duplication
        void ErrorMessageDialog(string message)
        {
            var dialog      = new Helpers.MessageDialog();
            var errorDialog = dialog.BuildErrorMessageDialog("ERROR", message);

            PresentViewController(errorDialog, true, null);
        }