2011-04-11 3 views

답변

0

을 도울 수있는 내가 jQuery과

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ 
static NSString *CellIdentifier = @"Nsubject"; 
SubjectsCell *cell = (SubjectsCell*)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; 
if (cell == nil) { 
    [[NSBundle mainBundle] loadNibNamed:@"mySubjectCell" owner:self options:nil];  
    cell=subjCell; 
    UIView* backgroundView = [ [ [ UIView alloc ] initWithFrame:CGRectZero ] autorelease ]; 

    cell.backgroundView = backgroundView; 
    for (UIView* view in cell.contentView.subviews) 
    { 
     view.backgroundColor = [ UIColor clearColor ]; 
    } 
} 
[cell SetTitle:[subjectsArr objectAtIndex:indexPath.row]]; 
return cell; 

}와 마찬가지로 내 휴대 투명하게하기 위해 다음과 같은 코드를 작성

self.tableView.backgroundColor = [UIColor clearColor]; 

위에있는 것처럼 자신 만의 견해를 가질 필요는 없습니다.

관련 문제