Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 602 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 602 Bytes

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