Skip to content

Commit fd411e0

Browse files
committed
Fixing layout on iOS 8
1 parent 81e1853 commit fd411e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Library/DNSSwipeableCell.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ - (void)commonInit
4242
UIPanGestureRecognizer *panRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panThisCell:)];
4343
panRecognizer.delegate = self;
4444
[self.myContentView addGestureRecognizer:panRecognizer];
45+
46+
[self layoutIfNeeded];
4547
}
4648

4749
- (id)init

0 commit comments

Comments
 (0)