摘要: 准备在视图中间显示一个label,宽度高度由要显示的文字决定。 hintView = [[UIView alloc]initWithFrame:CGRectMake(10, 10, parentView.frame.size.width - 20, parentView.frame.size.height - 20)]; hintView.backgroundColor = [UIColor grayColor]; //设置圆角 hintView.layer.cornerRadius = 10; hintView.layer.masksToBounds = YES; ... 阅读全文
posted @ 2013-05-09 20:11 nanoCramer 阅读(593) 评论(0) 推荐(0) 编辑