ios - MonoTouch.Dialog 事件和部分
<p><p>我需要更多帮助。 </p>
<p>第一个问题是:我知道 MonoTouch.Dialog 上的部分、文本、图像等将被动态创建。但是我也可以有按钮吗?如果是,我怎样才能绑定(bind)该按钮的事件。 </p>
<p>第二个问题是:基本上我有一个搜索文本和一个按钮,点击按钮,文本被发送到 Twitter-url,以获取推文,这些推文需要显示,现在它们包含、图像、文本、回复和收藏夹。搜索结果和 Search Button+Edit 框可以是一个 ViewController 的一部分吗?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><blockquote>
<p>But can i have buttons as well?</p>
</blockquote>
<code>DialogViewController</code> 中的<p><code>Element</code> 通常起到按钮的作用。但如果你想要一个 <em>real</em> UIButton,你可以这样做:<a href="https://stackoverflow.com/questions/8296548/monotouch-dialog-two-tables" rel="noreferrer noopener nofollow">Monotouch.Dialog two tables</a> </p>
<blockquote>
<p>Can the search result and the Search Button+Edit box, be the part of one ViewController?</p>
</blockquote>
<p>我认为这样做没有任何问题。使用上面链接中的代码并添加一个 <code>EntryElement</code>。</p>
<blockquote>
<p>the text is sent to the Twitter-url, to get the tweets, these tweets need to be displayed</p>
</blockquote>
<p>你看过<strong> <a href="https://github.com/migueldeicaza/TweetStation" rel="noreferrer noopener nofollow">TweetStation</a> </strong> ?它是一个基于 MonoTouch.Dialog 的开源应用程序。它可能会帮助您回答这两个方面的问题。</p></p>
<p style="font-size: 20px;">关于ios - MonoTouch.Dialog 事件和部分,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/8485110/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/8485110/
</a>
</p>
页:
[1]