2013年9月18日

ios 将图片做成圆形

摘要: UIImageView * imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"oiuyfdsa.png"]]; imageView.frame = CGRectMake(20.f, 20.f, 100.f, 100.f); imageView.layer.masksToBounds = YES; imageView.layer.cornerRadius = 50; 阅读全文

posted @ 2013-09-18 13:02 Hai_阔天空 阅读(289) 评论(0) 推荐(0)

ios 如何对UITableView中的内容进行排序

摘要: - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{ return UITableViewCellEditingStyleNone;}//排序调整- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)sourceIndexPath toIndexPath:(NSIndexPath *)destinati... 阅读全文

posted @ 2013-09-18 11:23 Hai_阔天空 阅读(734) 评论(0) 推荐(0)

导航