logo
  • 教程列表
  • SO官方文檔
  • UIDatePicker
    • 建立日期選擇器
    • 設定最小 - 最大日期
    • 模式
    • 設定分鐘間隔
    • 倒數持續時間
  1. StackOverflow 文件
  2. iOS 教程
  3. UIDatePicker
  4. 建立日期選擇器

建立日期選擇器

Created: November-22, 2018

迅速

let datePicker = UIDatePicker(frame: CGRect(x: 0, y: 0, width: 320, height: 200)       

Objective-C

UIDatePicker *datePicker = [[UIDatePicker alloc] initWithFrame:CGRectMake(x: 0, y: 0, width: 320, height: 200)];
  • 設定最小 - 最大日期
  • UIDatePicker

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明