ios 常用基本控件.docxVIP

  • 3
  • 0
  • 约1.55千字
  • 约 3页
  • 2021-11-14 发布于江苏
  • 举报
1.UISegmentControl分(段控制器) 2.UISlider滑(块) 3.UISwitch开( 关) 4,UIActivityIndicatorV(ie加w 载指示器) 5.UIProgressVie(w 进度条) 6,UISteppe(r 步控件) 7.UITextView (文本输入) 8.UILabel 显( 示信息) 9.UIButton(按钮) 10.UITouch(触摸) 10.UITextField 11.UINavigationControl(le导r 11.UIToolbar 12.UIImageView(视图) 13.UISearchbar搜( 索按钮)  航控制器) 14.UIActionSheet实( 现硬编码按钮) 15.UIAlertView 16.UITabBarController 17.UIPickerView UIControl创(建用户界面控件对象) UIDatePicker日(期/时间选取器) 20.UIScrollView 21.UITableView 21.UIPageControl用(来控制翻页) 、 UILabel *label = [[UILabel initWithFrame:CGRectMake(0, 50, 320, 2)]; 、 UIButton *button = buttonWithType:UIButtonTypeCustom]; alloc] [UIButton 3 、RootViewController *rootVC = [[RootViewControllearlloc] init]; 、 UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)]; 、 UITextField *tf = [[UITextField initWithFrame:CGRectMake(10, 50, 300, 40)]; alloc] 、 UIToolbar *toolBar = [[UIToolbar alloc] initWithFrame:CGRectMake(0, self.view.frame.size.heigh-t 44,self.view.frame.size.width, 44)]; 、 UIBarButtonItem *left = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSave target:self action:@selector(save)]; 、 UITapGestureRecognizer [[UITapGestureRecognizer alloc] action:@selector(tapOne:)]; *tapOneGesture = initWithTarget:self 、 AppDelegate *app = [[UIApplicationsharedApplication] delegate]; 、 UIControl *control = [[UIControl alloc] initWithFrame:CGRectMake(100, 40, 80, 40)]; 常用基本控件: UISegmentControl 分段控制器UISlider 滑块 UISwitch 开关控件UIActivityIndicatorVi活ew动指示器UIProgressView 进度条UIStepper UITextView

文档评论(0)

1亿VIP精品文档

相关文档