发表新的《国际调查评论》(这将是在人口总数中显示的观点)
然后,在班次中,你想要打开这个pop。
@interface TheClassWerePopoverIsShown : UIViewController {
UIPopoverController *popover;
}
页: 1
if ([popover isPopoverVisible]) {
[popover dismissPopoverAnimated:YES];
}
else {
THECLASSTOSHOW *popie = [[THECLASSTOSHOW alloc]init];
popover = [[UIPopoverController alloc]
initWithContentViewController:popie];
popover.popoverContentSize = CGSizeMake(300, 700);
[popie release];
[popover presentPopoverFromBarButtonItem:THEBARBUTTONITEM permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
}