[MonoTouch] Missing Backbutton when Pushing Viewcontroller
Jeff Stedfast
jeff at xamarin.com
Wed Oct 19 18:59:58 EDT 2011
Andreas,
The UINavigationController will only add a back button if there is
something to go back to. In your case, there probably isn't.
Hope that helps,
Jeff
2011/10/19 Andreas Ploetzeneder <info at ploetzeneder-it.com>:
> Hi,
> i do not see the Backbutton in uinavigationcontroller
> i push the following class:
>
> using System;
>
> using System.Collections.Generic;
>
> using System.Linq;
>
> using MonoTouch.Foundation;
>
> using MonoTouch.UIKit;
>
> using MonoTouch.Dialog;
>
> using System.IO;
>
> namespace MeinProgramm
>
> {
>
> public class LoginViewController : DialogViewController
>
> {
>
> public LoginViewController () : base (null)
>
> {
>
> Root = new RootElement ("Settings") {
>
> new Section () {
>
> new EntryElement ("Login", "Ihr Benutzername", "miguel"),
>
> new EntryElement ("Passwort", "Ihr Passwort", "password", true)
>
> }
>
> } ;
>
> }
>
> public override void ViewDidDisappear (bool animated)
>
> {
>
> base.ViewDidDisappear (animated);
>
> }
>
> }
>
> }
>
> --
>
>
>
>
>
> Mit freundlichem Gruß,
>
> Andreas Plötzeneder
> CEO
> ihr ploetzeneder it-solutions Team
> Mobile Development – Desktopanwendungen – Webanwendungen
> Tel: +43 720 30 30 24 10
> Fax: +43 720 30 30 24 20
> Email: info at ploetzeneder-it.com
> web: http://www.ploetzeneder-it.com
>
> Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich
> und ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der
> vorgesehene Adressat dieser E-Mail oder dessen Vertreter sind, so löschen
> sie diese bitte und informieren Sie den Absender. Jede Form der Verbreitung
> oder Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in Teilen,
> die nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
> Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
> it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert wurde.
>
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
More information about the MonoTouch
mailing list