问题
I am trying to add a Toolbar that is anchored to the bottom of a MonoTouch Dialog.
Here is an example:
So as you scroll, the table's contents scroll but the toolbar at the bottom remains in view always. I know how to do this by using the interface builder, but no clue as to how to do this with Mt.D. Please please tell me it can be done!
回答1:
To do this, it's probably easiest to use the DialogViewController and its View as a child of another UIViewController.
Just create your public class MyViewController : UIViewController
class and then create and size your child views in the override ViewDidLoad
method.
来源:https://stackoverflow.com/questions/9763196/monotouch-dialog-add-a-toolbar-at-the-bottom-of-the-dialog