The ARSafariActivity library is a powerful and versatile tool that allows developers to integrate Safari browsing functionality into their applications seamlessly.

Whether you want to provide a simple way for users to open web pages inside your app or enhance their browsing experience with additional features, ARSafariActivity has got you covered.


  • Integrate Safari browser seamlessly within your app
  • Enhance user browsing experience
  • Customize the Safari browser appearance
  • Support for handling deep links and universal links
  • Simple and easy-to-use API


To install the ARSafariActivity library, follow these steps:

  1. Open your Terminal or Command Prompt
  2. Navigate to your project directory
  3. Run the following command to install the library via CocoaPods:

pod 'ARSafariActivity'


To use ARSafariActivity in your app, follow these steps:

  1. Import the ARSafariActivity framework in your class file:

import ARSafariActivity

  1. Create an instance of ARSafariActivity:

let safariActivity = ARSafariActivity()

  1. Use the created instance of ARSafariActivity as an activity item when initializing UIActivityViewController:

let activityViewController = UIActivityViewController(activityItems: [url, safariActivity], applicationActivities: nil)

  1. Present the UIActivityViewController to the user:

present(activityViewController, animated: true, completion: nil)


ARSafariActivity provides various customization options to tailor the appearance and behavior of the Safari browser:

  • Change the toolbar color:

safariActivity.barTintColor = .red

  • Modify the activity title:

safariActivity.activityTitle = "Open in Safari"

  • Disable the universal links support:

safariActivity.supportsUniversalLinks = false

Additional Resources