Commit 69b1d58b authored by Victor Gama's avatar Victor Gama Committed by Carola
Browse files

Replace deprecated openURL calls (Fix #110)

Signed-off-by: Carola's avatarCarola Nitz <>
parent 1ebdff9a
...@@ -295,9 +295,9 @@ typedef NS_ENUM(NSUInteger, VLCAspectRatio) { ...@@ -295,9 +295,9 @@ typedef NS_ENUM(NSUInteger, VLCAspectRatio) {
[_shuffleStack removeAllObjects]; [_shuffleStack removeAllObjects];
if (_errorCallback && _mediaPlayer.state == VLCMediaPlayerStateError && !_sessionWillRestart) if (_errorCallback && _mediaPlayer.state == VLCMediaPlayerStateError && !_sessionWillRestart)
[[UIApplication sharedApplication] openURL:_errorCallback]; [[UIApplication sharedApplication] openURL:_errorCallback options:@{} completionHandler:nil];
else if (_successCallback && !_sessionWillRestart) else if (_successCallback && !_sessionWillRestart)
[[UIApplication sharedApplication] openURL:_successCallback]; [[UIApplication sharedApplication] openURL:_successCallback options:@{} completionHandler:nil];
[[self remoteControlService] unsubscribeFromRemoteCommands]; [[self remoteControlService] unsubscribeFromRemoteCommands];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment