You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have eliminated the Open Camera tab because from the Profile tab the same purpose can be done with the button located next to the three configuration bars in new versions of Instagram. This helps reduce visual noise for those who don't want too many distractions.
This button.
This is the code that I have used, the HideReelTab code should also be changed by adding the two for loops (the second is optional I think) since it is designed to eliminate the reels tab taking into account that none has been previously deleted.
#import"../../InstagramHeaders.h"
#import"../../Manager.h"// Hide open camera tab
%hook IGTabBar
- (void)didMoveToWindow {
%orig;
if ([SCIManager hideOpenCameraTab]) {
NSMutableArray *tabButtons = [selfvalueForKey:@"_tabButtons"];
NSString *targetLabel = @"Open Camera";
NSLog(@"[SCInsta] Hiding open camera tab");
for (NSUInteger i = 0; i < [tabButtons count]; i++) {
UIButton *button = [tabButtons objectAtIndex:i];
if ([[button accessibilityLabel] isEqualToString:targetLabel]) {
[tabButtons removeObjectAtIndex:i];
break;
}
}
for (UIButton *button in self.subviews) {
if ([[button accessibilityLabel] isEqualToString:targetLabel]) {
[button setHidden:YES];
break;
}
}
}
}
%end
The text was updated successfully, but these errors were encountered:
What I'm probably gonna do is add a toggle to remove any of the bottom buttons, or possibly rearrange them (if I can implement that). Possibly add a messages button as well.
I have eliminated the Open Camera tab because from the Profile tab the same purpose can be done with the button located next to the three configuration bars in new versions of Instagram. This helps reduce visual noise for those who don't want too many distractions.
This button.
This is the code that I have used, the HideReelTab code should also be changed by adding the two for loops (the second is optional I think) since it is designed to eliminate the reels tab taking into account that none has been previously deleted.
The text was updated successfully, but these errors were encountered: