Skip to content

Instantly share code, notes, and snippets.

@GaborWnuk
Created September 22, 2018 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GaborWnuk/088b80756245bd94de56fcc2f365ae15 to your computer and use it in GitHub Desktop.
Save GaborWnuk/088b80756245bd94de56fcc2f365ae15 to your computer and use it in GitHub Desktop.
AppDelegate.h for React Native Car Play
@import AVFoundation;
@import MediaPlayer;
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate, MPPlayableContentDataSource, MPPlayableContentDelegate>
@property (nonatomic, strong) UIWindow *window;
@property (nonatomic, retain) NSArray *channels;
@property (nonatomic, retain) AVPlayer *player;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment