2013-01-24 5 views
0

일부 배경이있는 구분 된 tableView가 포함 된 Popover를 만들었습니다. 두 개의 섹션 사이에있는 얇은 세로선을 제거하고 싶습니다.사용자 정의 Popover 배경 문제

enter image description here

+0

표를 어떻게 추가 할 것인지에 대한 몇 가지 코드를 보여줄 수 있습니까? :) – perrohunter

+0

tableview 배경 또는보기가 있습니까? –

+0

tableView 컨트롤러 클래스가 있습니다. 그 BackgroundView는 nil & BackgroundColor로 설정되어 지워집니다. popover 컨트롤러에 이것을 추가해야하는데, 차례로 반투명 이미지가 배경으로 사용됩니다. – iNeo

답변

0

세트 view 대 0의 배경의 배경 색상이나 이미지 다음 사용자 정의 색상/이미지와는 tableview 설정 '. 그것은 작동해야합니다.

- (void)viewDidLoad 
    { 
     [super viewDidLoad]; 

     //background image 
     self.view.backgroundColor= [UIColor clearColor]; 
     self.view.backgroundColor=[[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"yourimage.png"]]; 

     //table background image, mytableview should be your tableView's name you can try self.tableView if you have not set/delegate anything to it. 
     self.mytableView.backgroundView = nil; 
} 
관련 문제