VLCBaseInterfaceController.m 481 B

123456789101112131415161718192021222324
  1. //
  2. // VLCBaseInterfaceController.m
  3. //
  4. //
  5. // Created by Tobias Conradi on 03.04.15.
  6. //
  7. //
  8. #import "VLCBaseInterfaceController.h"
  9. @implementation VLCBaseInterfaceController
  10. - (void)awakeWithContext:(id)context {
  11. [super awakeWithContext:context];
  12. [self addMenuItemWithItemIcon:WKMenuItemIconMore title:@"currently playing" action:@selector(showNowPlaying:)];
  13. }
  14. - (void)showNowPlaying:(id)sender {
  15. [self presentControllerWithName:@"nowPlaying" context:nil];
  16. }
  17. @end