Latest 0.1.0
License MIT
Platforms ios 10.0


The goal of this library is:

  1. To (a) separate the fetching or acquisition of link preview data from (b) the view or UI aspects of the link preview.
  2. To enable the app using the link preview data fetching to not have to disable Application Transport Security (ATS).
  3. To flexibly allow for different web-based API services that fetch link preview data.

The LinkPreview view adapts to different available data:


To run the example project, clone the repo, and run pod install from the Example directory first.



SMLinkPreview is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SMLinkPreview', :git => ''


crspybits, [email protected]


SMLinkPreview is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "SMLinkPreview",
    "version": "0.1.0",
    "summary": "Fetching link preview data and presentation view for iOS",
    "description": "Plugins for fetching link preview data and resizing link presentation view for iOS.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "crspybits": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.0"
    "platforms": {
        "ios": "10.0"
    "source_files": "SMLinkPreview/Classes/**/*",
    "swift_version": "5.0"

Pin It on Pinterest

Share This