Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

touched frame issues #19

Open
bejayoharen opened this issue Feb 4, 2014 · 1 comment
Open

touched frame issues #19

bejayoharen opened this issue Feb 4, 2014 · 1 comment

Comments

@bejayoharen
Copy link

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.

@hoangvudp
Copy link

Hi,

I'm also facing the second issue you got. It seems that the rect value of first links are overridden by the rect value of the last link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants