开发者

Adding a list of email addresses to a UITextField

I have a UITextField that I want to display a pre-defined list of email addresses, then allow the user to select one or two before going to SendMail (MFMailComposeViewController).

I have tried appending "\n\r" but it still displays in one line.

How do I get it to display a list of addresses? (Obj-C is ok, but I'm using Mono开发者_开发问答touch)


You will need a UITableView and not a UITextView. If you want to ship around cumbersome UITableView implementations, try Monotouch.Dialog (https://github.com/migueldeicaza/MonoTouch.Dialog).

René


I think you need to use a UITextView, as you are showing more than one of something.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜