2013-11-15 3 views

답변

2

죄송합니다. 직접 해결합니다. 다음은 코드입니다.

NSBox *line = [[NSBox alloc] init]; 
[line setBoxType:NSBoxSeparator];      /* make it a line */ 
[line setFrame:NSMakeRect(0.0, 20.0, 300.0, 0.0)]; /* Or assign NSLayoutConstraint objects */ 
[self.view addSubview:line]; 
관련 문제