Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-iOS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sergey
VLC-iOS
Commits
37f9ca3e
Commit
37f9ca3e
authored
Dec 14, 2017
by
Carola Nitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCAppDelegate: replace deprecated openURL:sourceApplication with openURL:options
parent
b6bfbff5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
Sources/VLCAppDelegate.m
Sources/VLCAppDelegate.m
+1
-10
No files found.
Sources/VLCAppDelegate.m
View file @
37f9ca3e
...
...
@@ -292,15 +292,6 @@ didFailToContinueUserActivityWithType:(NSString *)userActivityType
}
-
(
BOOL
)
application
:(
UIApplication
*
)
app
openURL
:(
NSURL
*
)
url
options
:(
NSDictionary
<
UIApplicationOpenURLOptionsKey
,
id
>
*
)
options
{
[
self
playWithUrl
:
url
successCallback
:
nil
errorCallback
:
nil
];
return
YES
;
}
-
(
BOOL
)
application
:(
UIApplication
*
)
application
openURL
:(
NSURL
*
)
url
sourceApplication
:(
NSString
*
)
sourceApplication
annotation
:(
id
)
annotation
{
//Handles Dropbox Authorization flow.
DBOAuthResult
*
authResult
=
[
DBClientsManager
handleRedirectURL
:
url
];
...
...
@@ -317,7 +308,7 @@ didFailToContinueUserActivityWithType:(NSString *)userActivityType
}
if
(
_libraryViewController
&&
url
!=
nil
)
{
APLog
(
@"
%@ requested %@ to be opened"
,
sourceApplication
,
url
);
APLog
(
@"
requested %@ to be opened"
,
url
);
if
(
url
.
isFileURL
)
{
NSArray
*
searchPaths
=
NSSearchPathForDirectoriesInDomains
(
NSDocumentDirectory
,
NSUserDomainMask
,
YES
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment