UIPopOver보기의 제목을 프로그래밍 방식으로 어떻게 설정합니까?UIPopOver보기의 제목 설정 프로그래밍 방식으로
일부 샘플 코드를 발견했지만 제목을 설정할 수 없습니다.
myView *theView = [[myView alloc] initWithNibName:@"myView"
bundle:nil];
UIPopoverController* aPopover = [[UIPopoverController alloc] initWithContentViewController:theView];
[aPopover setDelegate:self];
[aPopover setPopoverContentSize:CGSizeMake(320, 320) animated:YES];
[theView setPopover:aPopover];
[theView release];
[self.popoverController presentPopoverFromRect:CGRectMake(510,370,0,0) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
나는 잘 모르겠지만, 주변에 구글 검색하면 그것은 어디에나 제목 – vodkhang
을 가질 수 있음을 알려줍니다. 예를 들어 세로 모드의 메일 응용 프로그램. 팝업 창에 이메일이 표시됩니다. – Yazzmi