Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
0a89b320
Commit
0a89b320
authored
Nov 13, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playback: remove write-only UIView
parent
4a0ebf28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
AspenProject/VLCMovieViewController.m
AspenProject/VLCMovieViewController.m
+0
-8
No files found.
AspenProject/VLCMovieViewController.m
View file @
0a89b320
...
...
@@ -49,7 +49,6 @@
BOOL
_swipeGesturesEnabled
;
NSString
*
panType
;
UIView
*
_rootView
;
UIView
*
_splashView
;
UIPanGestureRecognizer
*
_panRecognizer
;
UISwipeGestureRecognizer
*
_swipeRecognizerLeft
;
UISwipeGestureRecognizer
*
_swipeRecognizerRight
;
...
...
@@ -71,8 +70,6 @@
-
(
void
)
dealloc
{
if
(
_splashView
)
[
_splashView
removeFromSuperview
];
if
(
_tapRecognizer
)
[
_rootView
removeGestureRecognizer
:
_tapRecognizer
];
if
(
_swipeRecognizerLeft
)
...
...
@@ -877,10 +874,6 @@
[
_mediaPlayer
play
];
[
self
.
statusLabel
showStatusMessage
:
@" ►"
];
}
[
_rootView
addSubview
:
_splashView
];
[
UIView
animateWithDuration
:
1
animations:
^
{
_splashView
.
alpha
=
0
.
0
f
;}
completion:
^
(
BOOL
finished
){
[
_splashView
removeFromSuperview
];
}];
}
-
(
NSString
*
)
detectPanTypeForPan
:(
UIPanGestureRecognizer
*
)
panRecognizer
...
...
@@ -975,7 +968,6 @@
}
if
(
swipeRecognizer
.
state
==
UIGestureRecognizerStateEnded
)
{
[
_rootView
addSubview
:
_splashView
];
if
([
_mediaPlayer
isPlaying
])
[
_mediaPlayer
play
];
...
...
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