iPhone MFMailComposeViewController cuts off text

2019-06-11 05:05发布

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:

enter image description here

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条回答
相关推荐>>
2楼-- · 2019-06-11 05:24

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

查看更多
登录 后发表回答