재우니의 블로그


HTML href 를 통해 SMS 본문 텍스트를 미리 채우는 방법

 

 

stackoverflow.com/a/19126326

 

How to pre-populate the sms body text via an html link

How to use an html link to open the sms app with a pre-filled body? Everything I have read seems to indicate that sms:18005555555?body=bodyTextHere Should work, but on the iPhone, this doesn't wo...

stackoverflow.com

 

안드로이드 앱

<a href="sms:/* phone number here */?body=/* body text here */">Link</a>

 

아이폰 앱 (iOS8 미만)

<a href="sms:/* phone number here */;body=/* body text here */">Link</a>

 

아이폰 앱 (iOS8 이상) - 발신자전화번호는 옵션임.

<a href="sms:/* phone number here */&body=/* body text here */">Link</a>