Skip to content

touched frame issues #19

Description

@bejayoharen

I am using FTCoreTextView and have noticed two issues with the location of the link as received in the delegate function:

  • (void)coreTextView:(FTCoreTextView *)acoreTextView receivedTouchOnData:(NSDictionary *)data
    {
    ...
    CGRect touchedFrame = CGRectFromString([data objectForKey:FTCoreTextDataFrame]);
  1. The Y value is always too large, by about the font size. I may be miscalculating something, but that's what I'm seeing.
  2. If there are multiple links on a line, I always get the same frame.

I am using this in conjunction with a popup, so I really notice these issues. #1 I can work around, but #2 makes for an awkward UX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions