Comments (6)
I have the same problem, only I can't get a tap to transfer to a UIView… the UITableView is displayed correctly in the UIPopover.
On May 16, 2013, at 3:31 PM, Jhon Jaiver López [email protected] wrote:
Hi,
I'm having a problem when adding a UITableView to the popoverView. The TableView is showing properly, but the first tap on it is lost (the didDeselectRowAtIndexPath method is not being called).
After the first tap on the table, it works as is intended (the didDeselectRowAtIndexPath method is called normally).
This is the code I'm using:
self.myTable = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 240, 120)];
self.myTable.delegate = self;
self.myTable.dataSource = self;self.pv = [PopoverView showPopoverAtPoint:CGPointMake(40, 40)
inView:self.view
withContentView:self.myTable
delegate:self];
I tried adding the didDeselectRowAtIndexPath method on the example included and it presents the same behaviour.I'm also using the component to show a custom calendar view and it works like a charm.
—
Reply to this email directly or view it on GitHub.
from popoverview.
I bet you found a tap gesture recognizer! I'll see if I can refactor this weekend.
from popoverview.
I'm sorry... your component works perfectly (the autocomplete function of Xcode just trolled me)
I was using
didDeselectRowAtIndexPath:(NSIndexPath *)indexPath
instead of
didSelectRowAtIndexPath:(NSIndexPath *)indexPath
That's the why for the "strange" behaviour.
Again, forgive this enormous mistake!
from popoverview.
Hey, no problem! I think my touch handling for this component wasn't great, so seemed totally plausible to me. One of these days I'll do a rewrite...
from popoverview.
@Spokane-Dude Want to open an issue on this? Any ideas of what's causing it?
from popoverview.
Not right now… let me play with it for a bit… but thanks for offering… :D
On May 16, 2013, at 5:49 PM, Oliver Clark Rickard [email protected] wrote:
@Spokane-Dude Want to open an issue on this? Any ideas of what's causing it?
—
Reply to this email directly or view it on GitHub.
from popoverview.
Related Issues (20)
- Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]' HOT 6
- Not working in landscape mode HOT 2
- topView may be hidden HOT 4
- SplitViewController in portrait - popover appears behind mainView on detailView HOT 14
- Method of getting topView fails when using with DCIntrospect - popover doesn't appear HOT 6
- Proper device orientation not always recognized HOT 1
- Broken link HOT 5
- Tap below to dismiss? HOT 3
- Ensure only one Popoverview open at time? HOT 1
- Don't disable other gestures when the popover is showing HOT 2
- CocoaPods/Specs/PopoverView is out of date HOT 4
- Would be nice to have an option to not to display arrow
- content view is not scrollable? HOT 2
- Don't support scroll when there're many items
- when I press button a little quick, eg
- when I press button a little quick, e.g. double click, then
- how to setting the directions of the popoverView.
- help!my contentView is build with XIB HOT 2
- interactive with SVProgressView
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 popoverview.