Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7016017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:43:46+00:00 2026-05-27T22:43:46+00:00

I have an iPhone app that sends in app email (using MFMailComposeViewController) and SMS

  • 0

I have an iPhone app that sends in app email (using MFMailComposeViewController) and SMS messages (using MFMessageComposeViewController).

It works fine sending both types of messages, but I have run into a strange issue when the last word of a message contains the ‘&’ character. Everything including and after the ‘&’ gets truncated when it is opened in the email/sms iPhone built in controls (the controllers I mention above). I will illustrate with a few examples.

  • Sending a message with the text “Hello world” works fine.
  • Sending a message with the text “Hello &world” will truncate the message to “Hello “.
  • Sending a message with the text “Hello worl&d” will truncate the message to “Hello worl”.
  • Sending a message with the text “Hello &world&world” will truncate the message to “Hello &world”.

The truncation issue only appears in the message body, not the subject (this point is obviously not applicable to sending SMS message).

I have checked with NSLog output that the message is indeed not truncated before it is sent to the message controllers. I have also tested displaying the message with UIAlertView, and the message is not truncated there either.

Is this a bug in iOS or am I just missing something obvious here?

I am developing with iOS SDK 4.3 and the issue has been duplicated on both iPhone3GS and iPad2 devices.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:43:46+00:00Added an answer on May 27, 2026 at 10:43 pm

    I have confirmed that this was a bug in iOS SDK 4.3. After updating to iOS 5 the problem has disappeared, so I suppose Apple fixed the bug.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app [iphone], that sends to a server some times [using json],
I have an iPhone app that compiles and runs fine in the Simulator on
I have an iPhone app that will let users email some pre-determined text as
I have couple of iPhone apps that sends an email via code. I've noticed
I have an iphone app that sends and retrieves data from a php script.
I have a client that wants an iPhone app that at some point sends
My iPhone app is using the MFMailComposeViewController class to send an in-app email with
I have an iPhone app that hides the status bar. However, my main view
I have an iPhone app that heavily relies on the OpenCV library; as such,
I have an iPhone app that is based on a navigation controller. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.