Update DontEatMyContent (1.0.3 -> 1.0.4)

Compatible with YouTube's pinch-to-zoom feature

Fix crash due to dangly constraint

Better zoomed-to-fill detection

Bye bye backwards compatibility (remove old code that was kept to support older YouTube versions)

Rename & add prefix to functions
This commit is contained in:
foxster-mp4
2022-11-11 22:04:25 -08:00
parent 635b0673b4
commit acc86a1bf6
2 changed files with 85 additions and 85 deletions
+5 -6
View File
@@ -42,12 +42,11 @@
@end
// DontEatMyContent
NSString* deviceName();
void aspectRatioChanged(CGFloat arg);
BOOL deviceIsSupported();
void activate();
void deactivate();
void center();
NSString* DEMC_getDeviceModelIdentifier();
BOOL DEMC_deviceIsSupported();
void DEMC_activate();
void DEMC_deactivate();
void DEMC_centerRenderingView();
@interface YTPlayerView : UIView
- (BOOL)zoomToFill;