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
0f2b1584
Commit
0f2b1584
authored
Mar 09, 2018
by
Felix Paul Kühne
Browse files
playback controller: suppress deprecation warning as we can't use the modern replacement yet
(cherry picked from commit
0bd19c8c
)
parent
15ecc563
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCPlaybackController.m
View file @
0f2b1584
...
...
@@ -294,10 +294,14 @@ typedef NS_ENUM(NSUInteger, VLCAspectRatio) {
_playerIsSetup
=
NO
;
[
_shuffleStack
removeAllObjects
];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
/* UIApplication's replacement calls require iOS 10 or later, which we can't enforce as of yet */
if
(
_errorCallback
&&
_mediaPlayer
.
state
==
VLCMediaPlayerStateError
&&
!
_sessionWillRestart
)
[[
UIApplication
sharedApplication
]
openURL
:
_errorCallback
];
else
if
(
_successCallback
&&
!
_sessionWillRestart
)
[[
UIApplication
sharedApplication
]
openURL
:
_successCallback
];
#pragma clang diagnostic pop
[[
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