Monotouch Dialog因为Backbutton缺失而无法退出ILIST,

Plo*_*der 3 iphone xamarin.ios monotouch.dialog

Fahrzeug班

    {
        [Entry ("Typ")]
        public string typ;
        [Entry ("Name")]
        public string name;
        [RadioSelection("ListOfString")]
        public int selected=0;
        public IList<string> ListOfString;


    }
    public override void ViewWillAppear (bool animated)
    {
        base.ViewWillAppear (animated);
        Fahrzeug x = new Fahrzeug();
        x.typ="Neuwagen";
        x.name="BMW X3";
        x.ListOfString=new List<string>();
        x.ListOfString.Add("asdf");
        x.ListOfString.Add("bsdf");
    var bc= new BindingContext(null,x,"asdf");
        var dv = new MonoTouch.Dialog.DialogViewController(bc.Root,true);
        dv.WantsFullScreenLayout=false;
        dv.View.BackgroundColor=UIColor.DarkGray;


    this.startview.AddSubview(dv.View);
Run Code Online (Sandbox Code Playgroud)

您好,我有上面的代码.startview不是全屏,上面有一个导航栏,正常的dv也超出了导航栏,但是当我点击ILISt改变值时,ILIST是全屏的,所以我无法回来,...重要的是,实际是一个UIView,我想在uiview中,...我想使用反射,因为那样我可以直接序列化数据的任何想法?

小智 9

我有同样的问题,后退按钮没有显示.在查看DialogViewController.cs后,我看到构造函数可以采取第二个参数"推".如果将其设置为true,则后退按钮将设置为可见.