MonoTouch.Dialog更改DialogViewController样式(MonoTouch.Dialog change DialogViewController style)

编程入门 行业动态 更新时间:2024-10-20 06:19:21
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.

更多推荐

本文发布于:2023-08-01 03:05:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1353765.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:样式   Dialog   MonoTouch   DialogViewController   style

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!