YouDash brings native YouTube to Apple CarPlay with YouMod ad blocking, responsive layouts, and an on-screen keyboard. Open-source iOS integration. Formerly YouTube Car.
Python ad-blockeradblockapple-carplaycarplaycarplay-appcarplay-videoiosnative-youtubeobjective-cswiftuikityoudashyoumodyoutubeyoutube-caryoutube-carplayyoutube-carplay-iosyoutube-on-carplay
#import <UIKit/UIKit.h>
// Pure geometry shared by native layout hooks and the resize regression suite.
BOOL YCPShouldUseWideWatch(CGSize size);
CGRect YCPFitMiniPlayer(CGRect requested, CGRect contentBounds, UIEdgeInsets safeInsets);
// Native content lays out in logical points, then fits the actual car viewport.
CGFloat YCPContentScaleForSize(CGSize viewport);
@interface YCPScaledContentView : UIView
@property(nonatomic, readonly) UIView *canvas;
@property(nonatomic, readonly) CGFloat contentScale;
@end