ios - Call using an app when uibutton is clicked -
i have app displays telephone number, , number in uibutton. when button clicked, want call. best way it?
get text button nsurl , pass in:
let url = nsurl(string: button.currenttitle) uiapplication.sharedapplication().openurl(url)
Comments
Post a Comment