![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Swift
默默079
这个作者很懒,什么都没留下…
展开
-
Swift UI控件 UIPageControl 、UISegmentedControl 、 UISlider 、UIProgressView 、 UIStepper
UIPageControl的相关属性 // 创建 UIPageControl 并设置其位置大小 let pageControl = UIPageControl(frame:CGRect(x: 20, y: 100, width: self.view.bounds.size.width - 40, height: 30)) // 总共的页面数 pageControl.numberOfPages =...原创 2018-02-27 20:40:33 · 395 阅读 · 0 评论 -
Swift UI控件 UIPickerView 、UISearchBar 、UIDatePicker
在顶部签相关的协议 class ViewController: UIViewController, UIPickerViewDelegate, UIPickerViewDataSource, UISearchBarDelegate { } UIPickerView的相关属性 // 创建 UIPickerView 并设置其位置大小 let pickerView = UIPickerVi...原创 2018-02-27 20:43:03 · 336 阅读 · 0 评论