if
([[
UIApplication
sharedApplication
]
canOpenURL
:[
NSURL
URLWithString
:@
"tel:+11111"
]])
// device has phone capabilities
if
([[
UIApplication
sharedApplication
]
canOpenURL
:[
NSURL
URLWithString
:@
"tel:+11111"
]])
// device has phone capabilities