New Option (16.42.3 App Fixer)
This New Option is recommended in 2024. this option will be important because in that year Google will kill those APIs for older app versions like 16.42.3 but whenever enabling this option it will completely change and force the app into using newer APIs. Into making the app functional once again.
This commit is contained in:
parent
0d3ab04bc5
commit
546f1f3603
1 changed files with 17 additions and 0 deletions
17
uYouPlus.xm
17
uYouPlus.xm
|
|
@ -496,6 +496,23 @@ static BOOL didFinishLaunching;
|
|||
- (BOOL)enablePlayerBarForVerticalVideoWhenControlsHiddenInFullscreen { return YES; }
|
||||
%end
|
||||
|
||||
%group gYouTubeAppPatcher // YTAppPatcher for 16.42.3 - @arichorn
|
||||
%hook YTVersionUtils
|
||||
+ (NSString *)appVersion { return @"17.05.2"; }
|
||||
%end
|
||||
|
||||
%hook YTSettingsCell // made by Dayanch96
|
||||
- (void)setDetailText:(id)arg1 {
|
||||
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
|
||||
NSString *appVersion = infoDictionary[@"CFBundleShortVersionString"];
|
||||
|
||||
if ([arg1 isEqualToString:@"17.05.2"]) {
|
||||
arg1 = appVersion;
|
||||
} %orig(arg1);
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
||||
// Disable Wifi Related Settings - @arichorn
|
||||
%group gDisableWifiRelatedSettings
|
||||
%hook YTSettingsSectionItemManager
|
||||
|
|
|
|||
Loading…
Reference in a new issue