iPhone MFMailComposeViewController cuts off text

醉酒当歌 提交于 2019-12-08 09:35:44

问题


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.


回答1:


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 issue

Or even more simply, put a non breaking spacer &nbsp; before the <h1> or <h2> etc



来源:https://stackoverflow.com/questions/7163652/iphone-mfmailcomposeviewcontroller-cuts-off-text

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!