Picker views in an action sheet or popover for iOS
open sourceBSD-3-Clausefree
ActionSheetPicker-3.0 presents a picker view in an action sheet on iPhone, or a popover on iPad, so users can choose from a set of options. It has six pickers (string, multiple string, distance, date, locale and custom) that you can show with a convenience function and a target/action or block callback, without writing a delegate, plus a delegate protocol for more control, quick-selection toolbar buttons and customizable buttons and backgrounds. It works from Swift and Objective-C.
Problems it solves
- show a dropdown picker in an iOS app
- let users pick a date or option from an action sheet on iPhone
- present a UIPickerView without writing a delegate
Features
- six pickers: string, multiple string, distance, date, locale and custom
- show a picker with one call and a callback, no delegate needed
- action sheet on iPhone, popover on iPad
- quick-selection buttons in the toolbar
- customizable buttons, background colour and blur
