[MonoTouch] Using Dialog with an exiting Navigation Controller
Jason Awbrey
jason at awbrey.net
Sat Mar 31 14:44:07 UTC 2012
does NewProductScreen inherit from DialogViewController? If so, I would
expect that to work.
On Sat, Mar 31, 2012 at 9:14 AM, Bobby Johnson <bobby.johnson at gmail.com>wrote:
> 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
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120331/80f8bace/attachment.html>
More information about the MonoTouch
mailing list