【文件属性】:
文件名称:PickerButton:PickerButton是UIButton的子类,该UIButton在UIKeyboard中呈现UIPickerView
文件大小:6.06MB
文件格式:ZIP
更新时间:2021-05-23 05:23:14
keyboard ios uibutton uipickerview Swift
选择器按钮
PickerButton是UIButton的子类,该UIButton在键盘中显示UIPickerView。
概念
轻按PickerButton时,它将在UIKeyboard上显示UIPickerView。
选择器按钮
inputView
inputAccessoryView
PickerButton符合 。
PickerButton返回UIPickerView作为 。
PickerButton返回UIToolBar作为 。
更改选定的行或组件时,按钮标题将自动更新。
用法
PickerButton与UIPickerView几乎是相同的界面。
class ViewController : UIViewController {
@IBOutlet weak var button: PickerButton !
let pickerValues: [
【文件预览】:
PickerButton-master
----.gitignore(1KB)
----Example()
--------PickerButtonSample()
--------PickerButtonSample.xcworkspace()
--------PickerButtonSample.xcodeproj()
----LICENSE(1KB)
----PickerButton.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(13KB)
----PickerButton()
--------PickerButton.h(522B)
--------Internal()
--------PickerButton.swift(5KB)
--------Info.plist(726B)
----README.md(3KB)
----Images()
--------picker.gif(5.57MB)
--------picker.jpg(238KB)
--------inputview.jpg(189KB)
--------button.jpg(146KB)
--------storyboard.png(250KB)
----PickerButton.podspec(912B)