qnblackcat / uYouPlus

uYou+ is a modified version of uYou (made by @MiRO92) with additional features and mainly made for non jailbroken users!
7.27k stars 9.02k forks source link

Hide buttons at the top of shorts? #1436

Closed Wrestor closed 5 months ago

Wrestor commented 5 months ago

Have you read the FAQ?

Is there an existing issue/question for this?

Do you think this is a bug?

✅ Yes, I believe this is a bug. I will open a new issue with the bug template

My question

Is there maybe a setting (that I missed) or A/B flag I can enable to disable the "search, camera and more" buttons at the top of shorts?

Additional context

Disclaimer: Im on an older build of uYouPlus, because it’s the latest one that asks to enable notifications, which makes it possible to manipulate the bell mode (notifications[which I then get from the official YT version that I have installed]).

qnblackcat commented 5 months ago

Here is a quick solution. You could add this code to uYouPlus.xm, then rebuild the IPA

@interface YTReelHeaderView : UIView
@end
%hook YTReelHeaderView
- (void)didMoveToWindow {
    %orig;
    self.subviews[0].hidden = YES;
}
%end