![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UI创建
不经意间总是想起你
一个正在IOS道路上面奋斗的菜鸟
展开
-
ios成长之路之UITextField
UITextfield*textfield = [[UITextField alloc]init]; textfield.frame = CGRectMake(55,78, 235, 37); textfield没有输入前显示的字 textfield.placeholder = @"11234"; textfield.placeholder =转载 2015-01-24 09:59:56 · 191 阅读 · 0 评论 -
ios成长之路之imageview
设置图片 UIImage *setImage = [UIImage imageNamed:@"LoDin@2x-12"]; 图片放在imageview上两种方法都可以 UIImageView *settingimage = [ [UIImageView alloc]initWithImage:setImage]; UIImageView *原创 2015-01-24 10:02:29 · 187 阅读 · 0 评论 -
ios成长之路UIView
view旋转 CGAffineTransform at =CGAffineTransformMakeRotation(M_PI/2); //先顺时钟旋转90 at =CGAffineTransformTranslate(at,200,0); [self.benview setTransform:at]; view缩小 UIView原创 2015-01-24 10:07:36 · 203 阅读 · 0 评论 -
ios之UILabel创建
设置位置 UIlabel*leLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 20, 168, 20)]; 设置背景色 leLabel.backgroundColor = [UIColor clearColor]; 设置字体颜色 leLabel.textColor =转载 2015-01-24 09:51:34 · 338 阅读 · 0 评论