UI控件
文章平均质量分 81
幻想无极
IOS开发
展开
-
UI-UIAlertView
UIAlertView用法,点击事件原创 2014-12-31 17:19:14 · 471 阅读 · 0 评论 -
UI-UIButton
// // ViewController.m // // Created by lanqs on 15/1/3. // Copyright (c) 2015年 Tanqihong. All rights reserved. // #import "ViewController.h" @interface ViewController (){ UIButton *_lightbut原创 2015-01-03 14:11:16 · 517 阅读 · 0 评论 -
UI-UISwitch
// // ViewController.m // UI其它控件 // // Created by lanqs on 15/1/3. // Copyright (c) 2015年 Tanqihong. All rights reserved. // #import "ViewController.h" #import "nextViewController.h" @interface V原创 2015-01-03 18:43:17 · 421 阅读 · 0 评论 -
UI-UIProgressView
UISlider *slider = [[UISlider alloc]init]; slider.bounds = CGRectMake(0, 0, 200, 30); slider.center = CGPointMake(self.view.frame.size.width/2, 200); slider.minimumValue = 0.0; slider.原创 2015-01-03 19:18:32 · 789 阅读 · 0 评论 -
UI-UILable
如果有长的文字 #define LONG_STRING @"iOS(原名:iPhone OS)是由苹果公司为移动设备所开发的操作系统,支持的设备包括iPhone、iPod touch、iPad、Apple TV。iOS与苹果的Mac OS X操作系统一样,它也是以Darwin为基础的,因此同样属于类Unix的商业操作系统。系统操作占用大概240MB的存储器空间。目前,iOS的最新版本为7.1.1原创 2015-01-03 14:59:31 · 422 阅读 · 0 评论 -
UI-UITextField
一般属性: UITextField *textfield = [[UITextField alloc]init]; textfield.bounds = CGRectMake(0, 0, 200, 25); textfield.center = CGPointMake(CGRectGetMidX(self.view.bounds), CGRectGetMidY(self.原创 2015-01-03 16:53:52 · 442 阅读 · 0 评论 -
UI-UISegmentedControl
//分段控件 UISegmentedControl *segmentControl = [[UISegmentedControl alloc]initWithItems:@[@"white",@"red",@"blue",@"green"]]; segmentControl.bounds = CGRectMake(0, 0, 200, 30); segmentControl原创 2015-01-03 19:51:30 · 539 阅读 · 0 评论 -
UI-UISlider
UISlider: UISlider *slider = [[UISlider alloc]init]; slider.bounds = CGRectMake(0, 0, 200, 30); slider.center = CGPointMake(self.view.frame.size.width/2, 200); slider.minimumValue = 0原创 2015-01-03 19:05:21 · 445 阅读 · 0 评论 -
UI-UIActivityIndicatorView
//进度指示器 UIActivityIndicatorView *indicatorView = [[UIActivityIndicatorView alloc]initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; indicatorView.bounds = CGRectMake(0, 0, 30, 3原创 2015-01-03 19:31:15 · 470 阅读 · 0 评论