我有一个 TKCalendarDayTimelineView 显示几个事件。当我点击一个事件时,它会触发 gotSingleTapAtPoint 方法。使用这种方法,我想在新视图中显示被点击的事件的详细信息。我该怎么做?有没有办法确定从选定点选择了什么事件?
- (void)tapDetectingView:(TapDetectingView *)view gotSingleTapAtPoint:(CGPoint)tapPoint
{
//get the selected event, use the details to init a new view
CGPoint pointInTimeLine = CGPointZero;
pointInTimeLine = [view convertPoint:tapPoint toView:self.scrollView];
}