[MonoTouch] Using Dialog with an exiting Navigation Controller

Bobby Johnson bobby.johnson at gmail.com
Sat Mar 31 14:14:58 UTC 2012


I am pushing a Dialog based screen on to my NavigationController stack
with the following code.

                private void ShowProduct(Product product)
		{
			var productScreen = new NewProductScreen(product);
			this.NavigationController.PushViewController(productScreen, true);
		}

When the dialog is displayed I lose my Navigation controls and am
unable to go back to the previous screen.

Any one have tips on what I am doing wrong? I can provide code for any
of the objects if you think they would help.

--
"The explanation requiring the fewest assumptions is most likely to be correct."

- Occam’s Razor
http://en.wikipedia.org/wiki/Occam's_Razor


More information about the MonoTouch mailing list