You'll need to subclass UIPickerViewController
and override func layoutConent() -> [UIView]
. This currently returns an empty array.
open override func layoutConent() -> [UIView] {
...
return [viewA, viewB, viewC, ...]
}
This method, layoutContent()
is invoked when the view controller is becoming presented.
UIPickers is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'UIPickers'
LinnierGames
UIPickers is available under the MIT license. See the LICENSE file for more info.