ios - UIDevice has phone capability? iOS8 (can make phone call) -


i use method in uidevice category detect device phone capability. on ios8 not work more =(

+(bool)hasphonecapability; {     return [[uiapplication sharedapplication] canopenurl:[nsurl urlwithstring:@"tel:+11111"]]; } 

i suppose because of new handoff / continuety features introduced in ios8. lets answer or place phone calls on ipad , mac.

i know revert detecting if device iphone , settle that. accurately test current device capability.

an ipad correctly configured , in proximity paired iphone should detected device phone capability, not configured / without paired phone should declare device no phone capability.

on ios 8, it's better check if device ipad or ipod touch, because hands off, device device return yes (simulator return no) on test.

hope apple correct in future.

that's block hands off capabilities work.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -