-(void)layoutSubviews{
[super layoutSubviews];
for (UIView * view in self.subviews) {
if ([NSStringFromClass([view class]) rangeOfString: @"Reorder"].location != NSNotFound) {
for (UIView * subview in view.subviews) {
if ([subview isKindOfClass: [UIImageView class]]) {
[view setBackgroundColor:[UIColor redColor]];
view.center=CGPointMake([UIScreen mainScreen].bounds.size.width*500/572,view.center.y);
}
}
}
}
}
UITableView可编辑状态下,如何修改排序按钮的位置
最新推荐文章于 2020-11-26 10:37:36 发布