Skip to content

Instantly share code, notes, and snippets.

@ryanisnhp
Last active January 16, 2020 16:00
Show Gist options
  • Select an option

  • Save ryanisnhp/2dfca035af8c6b07030fc19fc7879f4d to your computer and use it in GitHub Desktop.

Select an option

Save ryanisnhp/2dfca035af8c6b07030fc19fc7879f4d to your computer and use it in GitHub Desktop.
func addRichLinkToView(view: UIView, metadata: LPLinkMetadata) {
linkView = LPLinkView(metadata: metadata)
view.addSubview(linkView)
linkView.frame = view.bounds
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment