mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
iOS URL opening fix.
This commit is contained in:
parent
529fbfbcc3
commit
824f1b8484
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ bool DirectoryIterator::NativeIterator::next (String& filenameFound,
|
|||
bool Process::openDocument (const String& fileName, const String& parameters)
|
||||
{
|
||||
#if JUCE_IOS
|
||||
return [[UIApplication sharedApplication] openURL: [NSURL fileURLWithPath: juceStringToNS (fileName)]];
|
||||
return [[UIApplication sharedApplication] openURL: [NSURL URLWithString: juceStringToNS (fileName)]];
|
||||
#else
|
||||
JUCE_AUTORELEASEPOOL
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue