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

iOS 7 library long touch: minor tweaks after device tests

parent 62d356db
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
CGRect frame = cell.frame; CGRect frame = cell.frame;
if (frame.size.height > 90.) if (frame.size.height > 90.)
frame.size.height = 90.; frame.size.height = 90.;
else else if (recognizer.state == UIGestureRecognizerStateBegan)
frame.size.height = 180; frame.size.height = 180;
void (^animationBlock)() = ^() { void (^animationBlock)() = ^() {
...@@ -356,6 +356,7 @@ ...@@ -356,6 +356,7 @@
void (^completionBlock)(BOOL finished) = ^(BOOL finished) { void (^completionBlock)(BOOL finished) = ^(BOOL finished) {
cell.frame = frame; cell.frame = frame;
[self.tableView scrollToRowAtIndexPath:path atScrollPosition:UITableViewScrollPositionNone animated:YES];
}; };
NSTimeInterval animationDuration = .2; NSTimeInterval animationDuration = .2;
......
Supports Markdown
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