【发布时间】:2013-08-28 07:03:21
【问题描述】:
testMsg.toEmail = @"%@@txt.att.net", phoneNumberEntry.text;
嗨,所以我想让 testMsg.toEmail 成为(phoneNumberEntry 文本)@txt.att.net。我试着用占位符来做,但没有用。我该如何解决?
【问题讨论】:
-
你上一个问题使用
[NSString stringWithFormat:...]- 这可能在这里有用:-) -
我试过 [NSString stringWithFormat phoneNumberEntry] 和 [NSString stringWithFormat phoneNumberEntry.text]。他们都没有工作
-
对不起。它没有成功发送电子邮件。我知道这些框架很有价值,因为我将 testMsg.toEmail 切换为我的电子邮件字符串,并且效果很好。
标签: ios cocoa-touch placeholder