ActionPicker is an interactive replication of iOS-style action sheets that are widely used across the system to setup AirPods, HomePod, etc.
let setupViewController = /* Your awesome view controller */ let actionPickerViewController = ActionPickerViewController(contentViewController: setupViewController) self.present(actionPickerViewController, animated: false, completion: nil)
actionPickerViewController.dismiss(animated: true, completion: nil)
ActionPickerViewController is interactive, other dismissal options are available:
To run the example project, clone the repo, and run
pod install from the Example directory first.
ActionPicker requires iOS11+.
ActionPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:
Serg Krivoblotsky, email@example.com
ActionPicker is available under the MIT license. See the LICENSE file for more info.
Apple, the Apple logo, Finder, Mac and Macintosh, AidPods, HomePod are trademarks of Apple Inc.