iPhone MFMailComposeViewController 截断文本
我在应用程序中使用 MFMailComposeViewController ,我注意到部分消息已被切断。目前它只是修剪“从我的 iPhone 发送”文本,但如果用户删除此文本,我不希望删除任何消息。
这是我正在谈论的内容的屏幕截图:
为了使我的应用程序描述尽可能简单,我从 TabController
启动 controller
,它作为 modalView
覆盖整个屏幕。
I'm using MFMailComposeViewController
inside my application and I've noticed that part of the message has been cut off. Right now it's only trimming the "Sent from my iPhone" text, but should users remove this, I don't want any of the message trimmed back.
Here's a screen cap of what I'm talking about:
To keep my app description as simple as possible, I'm launching the controller
from a TabController
and it covers the whole screen as a modalView
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,发现它是 html 开头的标头标签,这似乎使整个系统间隔开。不知道为什么
限制自己使用内联样式来
来获得您想要的外观,它应该可以解决问题
或者更简单地,放置一个不间断的间隔符
& ;nbsp;
在之前或
等等
I had the same problem and found that it was a header tag at the beginning of the html which seemed to be throwing the entire system spacing off. NO IDEA WHY
Limit yourself to
<div><p>
using inline styles to get the look you want and it should correct the issueOr even more simply, put a non breaking spacer
before the
<h1> or <h2> etc