MonoTouch Dialog add a toolbar at the bottom of the dialog

杀马特。学长 韩版系。学妹 提交于 2019-12-23 22:22:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!