swift - Open the list of SMS messages on iOS -


in app i'm creating want open messages app, showing list of received messages. know can open app create sms code:

if let url = nsurl(string: "sms:") {     if uiapplication.sharedapplication().canopenurl(url) {         uiapplication.sharedapplication().openurl(url)     } } 

this open messages app, blank new message. there way launch messages app , show received messages?

here's usecase: during registration i'm sending verification text using textmagic. want add button on screen user open his/her messages app.

you can see here sms scheme url doesn't provide possibility add body mail.

to achieve goal should use mfmessagecomposeviewcontroller.


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

loops - Spock: How to use test data with @Stepwise -