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

Lining not woking for Word Appear Multiple time in sentence. #32

Open
JainNkd opened this issue Dec 19, 2017 · 0 comments
Open

Lining not woking for Word Appear Multiple time in sentence. #32

JainNkd opened this issue Dec 19, 2017 · 0 comments

Comments

@JainNkd
Copy link

JainNkd commented Dec 19, 2017

//Step 1: Define a normal attributed string for non-link texts
NSString *string = @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque blandit quis blandit eros, sit amet vehicula justo. Nam at urna neque. Maecenas ac sem eu sem porta dictum nec vel tellus.";

//Step 3: Add link substrings
[label setLinksForSubstrings:@[@"Lorem", @"blandit", @"blandit", @"Maecenas"] withLinkHandler:handler];

//Issue

blandit Word appear two time in string but it underline with only first blandit word.
Please find attached screen shot.
screen shot 2017-12-19 at 3 08 05 pm

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

1 participant