skywinder / ActionSheetPicker-3.0

Quickly reproduce the dropdown UIPickerView / ActionSheet functionality on iOS.
http://skywinder.github.io/ActionSheetPicker-3.0
BSD 3-Clause "New" or "Revised" License
3.4k stars 740 forks source link

Link to custom ActionSheet example (Swift or Objective-C) #356

Closed om-ha closed 4 years ago

om-ha commented 7 years ago

Does anyone have a link for a custom ActionSheet example?

A Swift one would be great, but if non-existent then an Objective-C one would suffice.

To be specific, I need to insert a custom subview inside the actionsheet picker and keep the toolbar to be default (just done and cancel buttons as well as title). The custom subview would be a custom date picker I have.

skywinder commented 4 years ago

There is example in this code.

skywinder commented 4 years ago

https://github.com/skywinder/ActionSheetPicker-3.0/blob/c1c9888d2d1bfe918245f350ca60f57bd50a040f/Example%20Projects/ObjC-Example/Example/Classes/ActionSheetPickerTableViewController.m#L200

here it is