- 博客(6)
- 资源 (3)
- 收藏
- 关注
原创 label 调整label高度
// CGFloat width1=[(NSString *)ob1 boundingRectWithSize:CGSizeMake(1000, FONTHEIGHT) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:16]} con
2015-06-26 14:12:51 1854
原创 遍历子视图的子视图
- (NSArray *)allSubviews:(UIView *)theView { NSArray *results = [theView subviews]; for (UIView *eachView in [theView subviews]) { NSArray *riz = [self allSubviews:eachView]; if (riz) { resu
2015-06-18 18:27:56 525
原创 导航栏跳转
[self.navigationController setViewControllers:[NSArray arrayWithObjects:[self.navigationController.viewControllers objectAtIndex:1],cvc, nil] animated:YES];
2015-06-16 10:54:51 569
原创 导航栏跳转和一些常用的属性
[self.navigationController setViewControllers:[NSArray arrayWithObjects:[self.navigationController.viewControllers objectAtIndex:0],cvc, nil] animated:YES]; [self.navigati
2015-06-03 17:06:46 866
原创 截取数组的前1000条数据
if ([_selectedArray containsObject:book]) { cell.selecImage.image = [UIImage imageNamed:@"select_account_list_checked"]; } else{ cell.selecImage.image = [UIImage im
2015-06-03 10:53:59 1563
原创 Cell复用问题
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *contactlistcellid = @"InviteJoinListViewCellidentifier"; Invi
2015-06-03 10:51:25 537
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人