Latest 0.1.6
Homepage https://github.com/kohei1218/KSSafariActivity
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Existing ActivityViewController does not have Activity to open Safari. With KSsafariActivity you can introduce it with just a single line without any concern for developers.

KSSafariActivity

Example

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

Requirements

  • Swift 3.0 or later
  • iOS 8.0 or later

Usage

// Create a KSSafariActivity with title and url
let ksSafariActivity = KSSafariActivity(title: "open safari", url: URL(string: "https://yourUrl"))

// Passing to applicationActivities just transitions as usual
let activityViewController = UIActivityViewController(activityItems: [""], applicationActivities: [ksSafariActivity])
present(activity, animated: true, completion: nil)

Installation

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

pod 'KSSafariActivity'

Author

kohei1218, [email protected]

License

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

Latest podspec

{
    "name": "KSSafariActivity",
    "version": "0.1.6",
    "summary": "add open safari activity to your ActivityViewControoler",
    "description": "Existing ActivityViewController does not have Activity to open Safari. With KSsafariActivity you can introduce it with just a single line without any concern for developers.",
    "homepage": "https://github.com/kohei1218/KSSafariActivity",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "kohei1218": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kohei1218/KSSafariActivity.git",
        "tag": "0.1.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "KSSafariActivity/Classes/**/*",
    "resource_bundles": {
        "KSSafariActivity": [
            "KSSafariActivity/Assets/ks_safari_activity_icon.png"
        ]
    }
}

Pin It on Pinterest

Share This