Fix URI detection
This commit is contained in:
parent
395ccaf9f1
commit
02d54a063f
@ -47,7 +47,7 @@
|
||||
*/
|
||||
+ (BOOL) canPrintURL:(nullable NSString *)url
|
||||
{
|
||||
if (![NSURL URLWithString:url])
|
||||
if (![NSURL URLWithString:url].scheme)
|
||||
{
|
||||
return UIPrintInteractionController.isPrintingAvailable;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user