Commit eae7beff authored by Felix Paul Kühne's avatar Felix Paul Kühne

iOS 7 library long touch: minor tweaks after device tests

parent 62d356db
......@@ -347,7 +347,7 @@
CGRect frame = cell.frame;
if (frame.size.height > 90.)
frame.size.height = 90.;
else
else if (recognizer.state == UIGestureRecognizerStateBegan)
frame.size.height = 180;
void (^animationBlock)() = ^() {
......@@ -356,6 +356,7 @@
void (^completionBlock)(BOOL finished) = ^(BOOL finished) {
cell.frame = frame;
[self.tableView scrollToRowAtIndexPath:path atScrollPosition:UITableViewScrollPositionNone animated:YES];
};
NSTimeInterval animationDuration = .2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment