title: HTML SMS link & populating message
body: <p>I am trying to set up a hyperlink in such a way that allows someone to tap it on a smartphone and be taken immediately to their default SMS messaging app to send an SMS.</p>
  
  <p>There have been solutions posted here before to show how this is possible:</p>
  
  <pre><code>&lt;a href="sms:[number]?body=[message]"&gt;Android&lt;/a&gt;
  &lt;a href="sms:[number];body=[message]"&gt;iOS&lt;/a&gt;
  &lt;a href="sms:[number]&amp;body=[message]"&gt;iOS 8&lt;/a&gt;
  </code></pre>
  
  <p>I have used PHP to detect which device the user is on so that the correct format can be used, but there have been some inconsistencies recently.</p>
  
  <p>iPhone 4 doesn't seem to work with any of those, showing a blank message. iPhone 5C works with the semi-colon, but only populates the phone number and not the message. Old iPads around the same age as an iPhone 4 work fine.</p>
  
  <p>In the past, these devices have all worked fine and so I can only assume a recent update somewhere has accidentally created bugs.</p>
  
  <p>Does anyone have a workaround for those specific phones, or is there a definitive list anywhere that shows specific phones &amp; what is required for each? It seems really odd that there are so many inconsistencies between devices.</p>