gpt4 book ai didi

ios - MonoTouch.Dialog 事件和部分

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:24:28 25 4
gpt4 key购买 nike

我还需要一个帮助。

第一个问题是:我了解到 MonoTouch.Dialog 上的部分、文本、图像等将动态创建。但是我也可以有按钮吗?如果是,我如何绑定(bind)该按钮的事件。

第二个问题是:基本上我有一个搜索文本和一个按钮,单击按钮时,文本被发送到 Twitter-url,以获取推文,这些推文需要显示,现在它们包含、图像、文本、回复和收藏夹。搜索结果和搜索按钮+编辑框可以成为一个 ViewController 的一部分吗?

最佳答案

But can i have buttons as well?

DialogViewController 中的

Element 通常充当按钮。但是如果你想要一个真正的 UIButton,你可以这样做:Monotouch.Dialog two tables

Can the search result and the Search Button+Edit box, be the part of one ViewController?

我认为这样做没有任何问题。使用上述链接中的代码并添加一个 EntryElement

the text is sent to the Twitter-url, to get the tweets, these tweets need to be displayed

你看过 TweetStation ?它是一个基于 MonoTouch.Dialog 的开源应用程序。它可能会帮助您回答两个方面的问题。

关于ios - MonoTouch.Dialog 事件和部分,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8485110/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com