Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
69b1d58b
Commit
69b1d58b
authored
Jan 16, 2018
by
Victor Gama
Committed by
Carola
Jan 17, 2018
Browse files
Replace deprecated openURL calls (Fix
#110
)
Signed-off-by:
Carola Nitz
<
nitz.carola@googlemail.com
>
parent
1ebdff9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCPlaybackController.m
View file @
69b1d58b
...
...
@@ -295,9 +295,9 @@ typedef NS_ENUM(NSUInteger, VLCAspectRatio) {
[
_shuffleStack
removeAllObjects
];
if
(
_errorCallback
&&
_mediaPlayer
.
state
==
VLCMediaPlayerStateError
&&
!
_sessionWillRestart
)
[[
UIApplication
sharedApplication
]
openURL
:
_errorCallback
];
[[
UIApplication
sharedApplication
]
openURL
:
_errorCallback
options
:@{}
completionHandler
:
nil
];
else
if
(
_successCallback
&&
!
_sessionWillRestart
)
[[
UIApplication
sharedApplication
]
openURL
:
_successCallback
];
[[
UIApplication
sharedApplication
]
openURL
:
_successCallback
options
:@{}
completionHandler
:
nil
];
[[
self
remoteControlService
]
unsubscribeFromRemoteCommands
];
...
...
Write
Preview
Supports
Markdown
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