SMS function after ios8 update

On ios7 i could use this javascript in my app to start message and send a sms:

"window.location ="sms:phonenumberhere;body=" + encodeURIComponent("messagehere");"

This does not work on ios8, any idea what code that might work?
1 person has
this question
+1
This topic is no longer open for comments or replies.