RSPOPPickerSheet

MIT License
Objective-C
iOS

1 image

Author

Description

Fullscreen pop-able and block-able picker sheet.

PROBLEM

In one of my working projects, I need to show a picker view in a UITableViewController's tableView, so I add a picker view as a subview of the tableView. The result is this picker view will be scrolled together with the tableView.

HOW TO SOLVE THIS

We need a control which can show like modal and block actions, so here comes UIActionSheet. And we have to customize the UIActionSheet to show the picker view.

As we all know, the UIActionSheet can't be dragged into a empty xib, but UIView can. so we start with an UIView and do the layout and then change the class name of the UIView to UIActionSheet. That works fine for some UIView based controls.

Tags