Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @implementation CustomCell
- - (void)layoutSubviews {
- [super layoutSubviews];
- if (self.showingDeleteConfirmation) {
- if ([self.subviews count] < 4) return;
- UIView *delBtn = [self.subviews objectAtIndex:3];
- delBtn.frame = CGRectOffset(delBtn.frame, 0, 10);
- }
- }
- @end
- NSInteger num = 10;
- UIView.frame = CGRectMake(UIView.frame.origin.x,UIView.frame.origin.y - num,
- UIView.size.width,UIView.size.height);
Add Comment
Please, Sign In to add comment