Object-C
Slgmoon
这个作者很懒,什么都没留下…
展开
-
UILabel加载图片
UIImage *image = [UIImage imageNamed:@"123.jpg"]; // 1> 生成文本附件 NSTextAttachment *textAttach = [[NSTextAttachment alloc] init]; textAttach.image = image; textAttach.bounds=CGRectMake(0, -原创 2015-07-01 13:51:15 · 154 阅读 · 0 评论 -
输出栏对象显示nil
输出栏对象显示nil的解决方案。原创 2015-07-08 10:01:17 · 516 阅读 · 0 评论 -
判断两视图位置是否重叠
UILabel *labelA = [[UILabel alloc] initWithFrame:CGRectMake(0, 100, 200, 30)]; labelA.backgroundColor = [UIColor orangeColor]; [self.view addSubview:labelA]; UILabel *labelB = [[UILabel allo原创 2015-07-01 13:50:20 · 291 阅读 · 0 评论