Sorry I haven't made it clear but I don't have a UINavigationController, or at least I don't think I do. My AppDelegate creates UIViewController.
Thanks John Sent from my iPhone On 12 Nov 2011, at 14:08, Dean Cleaver <[email protected]> wrote: > One way to solve this is to create a constructor in each applicable class > passing in a reference to the navigation controller so that your last 3 > UIViews have a reference to it. > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of JohnnyNoMates > Sent: Saturday, November 12, 2011 5:16 AM > To: [email protected] > Subject: [MonoTouch] Trying to use MonoTouch.Dialog on my first app > > Hi guys, > Ive got a really simple MonoTouch app, my AppDelegate creates a > UIViewController, which contains a UIView, which contains a UIScrollView > which contains 3 more UIViews. Each of the last 3 UIViews have a button and > when it is pressed I want it to display a MonoTouch.Dialog. But all the > examples Ive seen I need to push the view controller I create onto a > navigation controller, which I don't have. My UIViewController doesn't have a > PushViewController method but the cocoa examples Ive seen suggest it should, > so not sure what I need to do next? > > Thanks > John > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Trying-to-use-MonoTouch-Dialog-on-my-first-app-tp4034137p4034137.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
