iOS Devices return YES to canOpenURL method when passed a
| Originator: | m4ttcheetham | ||
| Number: | rdar://19043925 | Date Originated: | 20/11/14 |
| Status: | Duplicate of 17573218 (Closed) | Resolved: | |
| Product: | iPad | Product Version: | 8.1.1 |
| Classification: | iOS | Reproducible: | Always |
Summary: As of iOS 8, handoff makes it possible to make calls from devices such as iPad via your iPhone. Calling [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"tel://123"]]; returns YES on iPad when the iPad is not signed into an iCloud account or linked to a device capable of making calls. Steps to Reproduce: Call the following method in your iOS app on an iPad running iOS 8, not signed into iCloud. [[UIApplication sharedApplication] canOpenURL:[NSURL urlWithString:@"tel://123"]]; Observe that method returns YES. Attempting to open the link results in nothing happening. Expected Results: Method should return NO for devices not linked to a call-capable device Actual Results: Method returns YES but is unable to actually open the URL and make the call Version: iOS 8.1.1 Notes: Configuration: iPad Air
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!