Closed songhanghang closed 9 years ago
Will expand the demo application to show example working in a table.
Example will demonstrate:
There is now a simple example of KILabel working in a UITableView. Row sizing is dynamic and touches work as expected. Will be included in 1.0.0 release.
thanks
(void)touchesBegan:(NSSet )touches withEvent:(UIEvent )event { self.isTouchMoved = NO;
// Get the info for the touched link if there is one NSDictionary *touchedLink; CGPoint touchLocation = [[touches anyObject] locationInView:self]; touchedLink = [self getLinkAtLocation:touchLocation];
if (touchedLink) { self.selectedRange = [[touchedLink objectForKey:@"range"] rangeValue]; } else { [super touchesBegan:touches withEvent:event]; } }
this method can not come in,I think may be touch Event is can not catch,But I can not solve issue