ios - Requesting permissions in apps -
i wondering if there way request permissions built-in iphone messages app?
i inexperienced swift when comes permissions requests , want know can , can't do.
you can't request permissions built-in iphone messages app. can communicate messages app url scheme.
url scheme reference sms can found here: https://developer.apple.com/library/ios/featuredarticles/iphoneurlscheme_reference/smslinks/smslinks.html#//apple_ref/doc/uid/tp40007899-ch7-sw1
for example, can in app:
uiapplication.sharedapplication().openurl(nsurl(string: "sms:")!) // raise message app uiapplication.sharedapplication().openurl(nsurl(string: "sms:1-408-555-1212")!) // raise message app , prepare send message 1-408-555-1212
Comments
Post a Comment