黑马程序员—IOS基本控件

----------------------java培训Android培训IOS培训.Net培训期待与您交流!----------------------


1.UISegmentControl (分段控制器) 
 
2.UISlider(滑块) 
 
3.UISwitch(开关) 
 
4,UIActivityIndicatorView(加载指示器) 
 
5.UIProgressView(进度条) 
 
6,UIStepper(步控件) 
 
7.UITextView (文本输入) 
 
8.UILabel (显示信息) 
 
9.UIButton(按钮) 
 
10.UITouch(触摸) 
 
10.UITextField 
 
11.UINavigationController(导航控制器) 
 
11.UIToolbar 
 
12.UIImageView(视图) 
 
13.UISearchbar(搜索按钮) 
 
14.UIActionSheet(实现硬编码按钮) 
 
15.UIAlertView 
 
16.UITabBarController 
 
17.UIPickerView 
 
18.UIControl (创建用户界面控件对象) 
 

 wk_ad_begin({pid : 21});wk_ad_after(21, function(){$('.ad-hidden').hide();}, function(){$('.ad-hidden').show();});    



19.UIDatePicker (日期/时间选取器) 
 
20.UIScrollView 
 
21.UITableView 
 
21.UIPageControl (用来控制翻页) 
   
1、UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 50, 320, 2)]; 
 
2、UIButton *button = 
[UIButton 
buttonWithType:UIButtonTypeCustom]; 
 
3、RootViewController *rootVC = [[RootViewController alloc] init]; 
 
4、UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)]; 
 
5、UITextField *tf = [[UITextField alloc] 
initWithFrame:CGRectMake(10, 50, 300, 40)]; 
 
6、UIToolbar *toolBar = [[UIToolbar alloc] initWithFrame:CGRectMake(0, self.view.frame.size.height - 44,self.view.frame.size.width, 44)]; 
 
7、UIBarButtonItem *left = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSave target:self action:@selector(save)]; 
 
8、UITapGestureRecognizer *tapOneGesture = 
[[UITapGestureRecognizer alloc] initWithTarget:self 
action:@selector(tapOne:)]; 
 
9、AppDelegate *app = [[UIApplication sharedApplication] delegate]; 
  10、UIControl *control = [[UIControl alloc] 
initWithFrame:CGRectMake(100, 40, 80, 40)]; 

常用基本控件: 
 
UISegmentControl     分段控制器 
 
UISlider            滑块   
UISwitch            开关控件 
 
UIActivityIndicatorView 活动指示器 
 
UIProgressView           进度条 
 
UIStepper 
 
UITextView

----------------------java培训Android培训IOS培训.Net培训期待与您交流!----------------------

你可能感兴趣的:(ios,UITextField,UIImageView,IOS基本控件)