내 앱에서 맞춤 배경 이미지가있는 버튼이 배치되어 있으며 주위에 테두리가 필요하지 않습니다. 국경을 제거하는 방법을 모르겠습니다. 내 코드 :ios5 : UIButton 테두리 삭제
UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
button.frame=CGRectMake(100, 170, 100,30);
UIImage *cbutton = [UIImage imageNamed:@"pdficon_small.png"];
[button setImage:cbutton forState:UIControlStateNormal];
UIButton *button2 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[button2 addTarget:self
action:@selector(openWordings:)
forControlEvents:UIControlEventTouchDown];
[button setTag:2];
[self.view addSubview:button];
미리 감사드립니다.