MonoTouch.Dialog更改DialogViewController样式(MonoTouch.Dialog change DialogViewController style)
这是否可以将新样式应用于已创建的DialogViewController ? 在我的一个视图中,我需要清除root并从分组更改为普通视图。
只是将样式设置为新样式并没有做任何事情,所以我不确定是否需要调用一些刷新方法,否则这根本不可能。
Is this possible to apply new style to already created DialogViewController? In one of my views I need to clear root and change from grouped to plain view.
Just setting style to new one doesn't do anything, so I'm not sure if I need to call some refresh method or this is not possible at all.
最满意答案
找到你需要调用TableView.LoadView的Monotouch.Dialog代码才能实现这一点。
Found out looking at Monotouch.Dialog code that you need to call TableView.LoadView for this to happen.
更多推荐
发布评论