原始: [self setContentSizeForViewInPopover:kPopoverContentSize]; 替代: [self setPreferredContentSize:kPopoverContentSize];