-
Notifications
You must be signed in to change notification settings - Fork 190
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
using CalloutView with OHAttributedLabel #23
Comments
please refer to this updated link: I want to use this callout view for attributed texts. [calloutView presentCalloutFromRect:_demoLabel.frame inView:_demoLabel constrainedToView:_demoLabel permittedArrowDirections:SMCalloutArrowDirectionDown animated:YES]; |
Hello, What's happening here is that you're asking the popup to display pointing at the entire What I think you actually want is to tell the popup to appear pointing at the CGRect defined by just the area of the link that was clicked. However, One thing you might try is to intercept and track touches yourself in the superview of your Anything else would require hacking I'm closing this issue as I believe Good luck! Nick |
thanks for your guides |
That's great that you got it working! I didn't know about What view are you adding the callout to? If the result of |
touching delay solved! |
Im trying to use OHAttributedLabel in my app.
this class lets me to attribute my text and can fire my desired method after tapping your special attributed text.(like hypelinks) this API uses UILabel for its tag processing in text.
I want to show a callout view after touching these texts.
but it seems callout view doesn't appear after touching! (the method fires).
-(void)popOutCalloutView
{
}
you can download my test project from here :
http://upload.ugm.ac.id/775OHAttributedLabel-master%202.zip
The text was updated successfully, but these errors were encountered: