0

My MonoTouch.Dialog Reflection-generated form is in an UITabBar which is in a UINavigationControl. Works great.

When the user however clicks the list generated from the following:

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

The list of states that appear is full screen, not part of the UINavigation. This is understandable as the parent of the dialog is a UITabBar.

Is there a way to have the state view have a back button. Right now the user can't get back from the State view. See images below:

enter image description here

enter image description here

Ian Vink
  • 66,960
  • 104
  • 341
  • 555

2 Answers2

1

You do it the wrong way.

Never but a tabbarcontroller within a navigationcontroller.

You should create 1 tabbarcontroller and put a navigation controller in it for every tabbaritem.

mafis
  • 1,165
  • 9
  • 17
0

Should it be:

[RadioSelection ("alleged_violator_state"), Caption("Alleged violator state")]
public int alleged_violator_state_id = 0;
public IList<string> alleged_violator_state;
Duncan Smart
  • 31,172
  • 10
  • 68
  • 70
  • RadioSelection ignores what ever text is in it. The display always shows the IList field name only. – Ian Vink Sep 18 '11 at 17:30