iPhone MFMailComposeViewController切断文本 [英] iPhone MFMailComposeViewController cuts off text
问题描述
我在应用程序内部使用了MFMailComposeViewController
,我注意到消息的一部分已被截断.现在,它只是修剪从我的iPhone发送"文本,但是如果用户删除它,我不希望修剪掉任何消息.
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:
为了使我的应用程序描述尽可能简单,我从TabController
启动controller
,它以modalView
的形式覆盖了整个屏幕.
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
.
推荐答案
我遇到了同样的问题,发现它是html开头的标头标记,似乎在浪费整个系统的空间.没有想法
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
使用内联样式将自己限制为<div><p>
以获得所需的外观,它应该可以解决问题
Limit yourself to <div><p>
using inline styles to get the look you want and it should correct the issue
或更简单地说,在<h1> or <h2> etc
这篇关于iPhone MFMailComposeViewController切断文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!