0

My MonoTouch.Dialog反射生成的表单位于UINavigationControl中的UITabBar中。很棒。MonoTouch.Dialog:UINavigation Holding UITabBar - 丢失后退按钮

当用户点击但是从下面生成的列表:

[RadioSelection ("State"),Caption("State")] 
    public int alleged_violator_state_id = 0; 
    public IList<string> alleged_violator_state; 

出现满屏幕,而不是UINavigation的部分国家名单。这是可以理解的,因为对话框的父母是UITabBar。

有没有办法让状态视图有一个后退按钮。现在,用户无法从状态视图返回。见以下图片:

enter image description here

enter image description here

回答

1

你做了错误的方式。

绝对不是导航控制器中的tabbarcontroller。

您应该创建1个tabbarcontroller,并为每个tabbaritem放置一个导航控制器。

0

它应该是:

[RadioSelection ("alleged_violator_state"), Caption("Alleged violator state")] 
public int alleged_violator_state_id = 0; 
public IList<string> alleged_violator_state; 
+0

RadioSelection忽略其中的任何文本。显示屏始终仅显示IList字段名称。 –