VLCSearchController.m 914 B

1234567891011121314151617181920212223242526272829
  1. /*****************************************************************************
  2. * VLC for iOS
  3. *****************************************************************************
  4. * Copyright (c) 2016 VideoLAN. All rights reserved.
  5. * $Id$
  6. *
  7. * Authors: Vincent L. Cone <vincent.l.cone # tuta.io>
  8. *
  9. * Refer to the COPYING file of the official project for license.
  10. *****************************************************************************/
  11. #import "VLCSearchController.h"
  12. @implementation VLCSearchController
  13. - (UIViewController *)targetViewControllerForAction:(SEL)action sender:(id)sender
  14. {
  15. return self;
  16. }
  17. - (void)showViewController:(UIViewController *)vc sender:(id)sender
  18. {
  19. UIViewController *presentingControllerController = self.presentingViewController;
  20. [self.presentingViewController showViewController:vc sender:sender];
  21. [self dismissViewControllerAnimated:YES completion:nil];
  22. }
  23. @end