Comments (1)
Hi. The docs state that transform property transform the value of the center property, thus changing also the frame of the view. I think this issue is related to how UITableView implements hitTest: in regard to cell selection. I have a workaround that I had yet no time to publish, but that have the downside to require a UITableView subclass:
#import <UIKit/UIKit.h>
@interface BMXAccessorySupportTableView : UITableView
#import "BMXAccessorySupportTableView.h"
#import "BMXSwipableCell.h"
@implementation BMXAccessorySupportTableView
-
(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
{
UIView *view = [super hitTest: point withEvent: event];//
// obtain touched cell
//
NSIndexPath indexPath = [self indexPathForRowAtPoint: point];
BMXSwipableCell *cell = (BMXSwipableCell)[self cellForRowAtIndexPath: indexPath];//
// if basement is shown, check if touch point is inside basement
// view. If so, perform hitTest:withEvent against the basement to
// let the touch propagate to buttons
//
if (cell.showingBasement) {
CGPoint p = [cell.basementView convertPoint: point
fromView: self];if ([cell.basementView pointInside: p withEvent: event]) { return [cell.basementView hitTest: p withEvent: event]; }
}
return view;
}
I hope you'll find it useful
from bmxswipablecell.
Related Issues (13)
- LayoutSubview crashes in iOS 6.1, iOS 7 working fine HOT 1
- Item options disappear when rotating screen
- Item options disappear when cell is being updated.
- Remove Reveal.app Libraries from Frameworks HOT 1
- Tap enabled buttons in cell HOT 3
- section index title view/bar overlaps right utility button(s) when swiping right-to-left HOT 3
- Floating-point equality check HOT 1
- Autolayout Issue.
- UI has bugs
- Forward touch to UITableViewCell HOT 1
- Does not work with AutoLayout HOT 9
- Button in cell not responding to tap HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bmxswipablecell.