Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
f5f849e8
Commit
f5f849e8
authored
May 26, 2013
by
Felix Paul Kühne
Browse files
menu: show about panel as modal view instead of pushing the view controller
parent
9b86e92e
Changes
2
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCAboutViewController.m
View file @
f5f849e8
...
...
@@ -46,7 +46,7 @@
-
(
IBAction
)
dismiss
:(
id
)
sender
{
[
self
.
navigationController
pop
ViewControllerAnimated
:
YES
];
[
self
.
navigationController
dismissModal
ViewControllerAnimated
:
YES
];
}
@end
AspenProject/VLCMenuViewController.m
View file @
f5f849e8
...
...
@@ -101,11 +101,13 @@
-
(
IBAction
)
openAboutPanel
:(
id
)
sender
{
VLCAppDelegate
*
appDelegate
=
[
UIApplication
sharedApplication
].
delegate
;
UIViewController
*
aboutController
=
[[
VLCAboutViewController
alloc
]
initWithNibName
:
@"VLCAboutViewController"
bundle
:
nil
];
[
appDelegate
.
playlistViewController
.
navigationController
pushViewController
:
aboutController
animated
:
YES
];
[
self
_hideAnimated
:
NO
];
UINavigationController
*
navController
=
[[
UINavigationController
alloc
]
initWithRootViewController
:
aboutController
];
navController
.
navigationBarHidden
=
NO
;
navController
.
navigationBar
.
barStyle
=
UIBarStyleBlack
;
[
self
presentModalViewController
:
navController
animated
:
YES
];
}
-
(
IBAction
)
openNetworkStream
:(
id
)
sender
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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