From 1e248daf4573c64d6c32a8bc1de3b08819873d41 Mon Sep 17 00:00:00 2001 From: poetwang Date: Sun, 8 Nov 2015 16:31:44 +0800 Subject: [PATCH] Fix buttons front when changing cell frame: send butons to back. --- SWTableViewCell/PodFiles/SWTableViewCell.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SWTableViewCell/PodFiles/SWTableViewCell.m b/SWTableViewCell/PodFiles/SWTableViewCell.m index 3daceac..d6c347c 100644 --- a/SWTableViewCell/PodFiles/SWTableViewCell.m +++ b/SWTableViewCell/PodFiles/SWTableViewCell.m @@ -316,6 +316,9 @@ - (void)layoutSubviews } [self updateCellState]; + + [self.rightUtilityClipView.superview sendSubviewToBack:self.rightUtilityClipView]; + [self.leftUtilityClipView.superview sendSubviewToBack:self.leftUtilityClipView]; } - (void)setFrame:(CGRect)frame