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

Remove space while calling phone call API #8

Open
usuf1990 opened this issue Dec 29, 2016 · 0 comments
Open

Remove space while calling phone call API #8

usuf1990 opened this issue Dec 29, 2016 · 0 comments

Comments

@usuf1990
Copy link

In MTLLinkLabel/MTLLinkLabel/LinkLabel.swift
linkLabelExecuteLink() method change let telURLString = "tel:" + text as let telURLString = "tel:" + text..stringByReplacingOccurrencesOfString(" ", withString: "")

If any space is sent while calling phone call API application crashes. So for the where user wants to show spaced number in UI it won't crash.

@usuf1990 usuf1990 changed the title Remove space Remove space while calling phone call API Dec 29, 2016
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