

Except that, the rest of the code is almost the same. If you wish to contribute to any issues you find in the source code, please issue a pull request. Set up UIButton to trigger the UIImagePickerController to let user select photo they would like to share. For Swift package, the AnimatedMenuBar struct is required to set to public.And we need to create a custom init with public access level. Find the Apple ID: Go to Appstore Connect. You can contact me at dj at, the Facebook page, the Google+ page or on . The purpose of this repository is to supplement the Building a iOS 9 Share Extension with Swift 2.0 video with code, and to provide a simple starting. 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.
Swift share ios how to#
If you are having troubles getting the source code, please see Getting the source code or the video How to get code from GitHub LicenseĪny feedback is welcome. This code is written and compiled for Swift 3.1. The code is a self contained Swift project that can be loaded into XCode. You can find more iOS videos on the DeegeU channel Getting started

The “Building a iOS 9 Share Extension with Swift 2.0” video demonstrates sharing a photo from the photo album to your apps. This post presents an example implementation using Keychain Services for a storing and getting passwords: Save Data To Keychain. The original video was created using Swift 2.0, but the code is updated for Swift 3.1. Select the ImgurShare project in the Project Navigator and then go to Editor > Add Target > iOS > Application Extension > Share Extension. Keychain Services is a secure storage interface for macOS and iOS best used for small pieces of private data like passwords, cookies, and authentication tokens. The purpose of this repository is to supplement the "Building a iOS 9 Share Extension with Swift 2.0" video with code, and to provide a simple starting point for building Share Extensions for yous apps. Building a iOS 10 Share Extension with Swift 3.1
