Skip to content

With KSsafariActivity you can introduce it with just a single line without any concern for developers.

License

Notifications You must be signed in to change notification settings

kohemon/KSSafariActivity

Repository files navigation

KSSafariActivity

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.

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.

About

With KSsafariActivity you can introduce it with just a single line without any concern for developers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published