Ejemplo n.º 1
0
        public ViewController09()
        {
            Title          = "09 Post";
            SimulateErrors = true;

            NavigationItem.RightBarButtonItem = new UIBarButtonItem(
                UIBarButtonSystemItem.Compose,
                delegate {
                var c    = new NewMessageController();
                c.Saved += HandleNewMessageSaved;

                PresentModalViewController(new UINavigationController(c), true);
            });
        }
Ejemplo n.º 2
0
		public ViewController09 ()
		{
			Title = "09 Post";
			SimulateErrors = true;

			NavigationItem.RightBarButtonItem = new UIBarButtonItem (
				UIBarButtonSystemItem.Compose,
				delegate {

				var c = new NewMessageController ();
				c.Saved += HandleNewMessageSaved;

				PresentModalViewController (new UINavigationController (c), true);			
			});
		}