![]() (self, selector: #selector(updateSwitch), name. Let switchURL = (forSecurityApplicationGroupIdentifier: "")! ![]() So if you would like to share a switch state from two different apps you should do it as follow: import UIKitĬlass ViewController: UIViewController weak var sharedSwitch: UISwitch! The first thing which we will do is to create a globally accessible shared instance of the Stream Chat Client and initialize its connection when the app starts. In this tutorial we will learn how to share images, text and a URL. What is Swift First released in 2014, Swift is a powerful general-purpose programming language for the Apple ecosystem. Then you can access the same folder from your apps using the following url: let sharedContainerURL = (forSecurityApplicationGroupIdentifier: "")! UIActivityViewController makes sharing easy and it allows one to share many different types content including, text, images, URLs, Audio and more. You can turn on App group on your App Project capabilities tab on both of your apps with the same group container ID. Find Your App’s Apple ID You can find your app’s Apple ID if you have created a project for your app in Appstore Connect.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |