1
VC *newView = [self.storyboard instantiateViewControllerWithIdentifier:@"VCUI"];
[newView setBackgroundColor:[UIColor clearColor]];
[newView view];
UIPopoverController * popoverController = [[UIPopoverController alloc] initWithContentViewController:newView];
[popoverController setBackgroundColor:[UIColor clearColor]];
[popoverController presentPopoverFromRect:sender.frame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
为什么透明背景不同看到的iPad 2比iPad的空气2透明背景的不同看到的iPad 2比iPad的空气2
可能重复[UIToolbar不是透明的iPad2(http://stackoverflow.com/questions/30178756/uitoolbar -not透明-上的ipad2) – luiyezheng
透明背景上的iPad 2和可见的iPad空气2不可见。检查图片。 –