Skip to content

MTACS/NoSettingsChevrons

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

NoSettingsChevrons

A very simple tweak to remove chevrons on Settings cells

@interface PSTableCell // Declare header for PSTableCell
- (void)setForceHideDisclosureIndicator:(BOOL)arg1; // Add the method used
@end

%hook PSTableCell // Hook PSTableCell class

- (void)layoutSubviews { // Don't use layoutSubviews normally, but in this case it is fine as it doesn't add any views, just calls a setter method

	%orig; // Call the original method

	[self setForceHideDisclosureIndicator:true]; // Use the setter to hide the disclosure indicators (chevrons)

}

%end // End your hook

About

Code for NoSettingsChevrons

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published