0
我有一個TKCalendarDayTimelineView顯示幾個事件。當我點擊一個事件時,它觸發了gotSingleTapAtPoint方法。使用這種方法,我想顯示在新視圖中點擊的事件的詳細信息。我如何去做這件事?有沒有辦法確定從選定點選擇了什麼事件?Tapku Library - 顯示預約細節
- (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];
}