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];

Why the transparent background is seen differently on iPad 2 vs iPad Air 2

ipad2 ipad air 2

Ion Toma
  • 13
  • 4
  • possible duplicate [UIToolbar not transparent on iPad2](http://stackoverflow.com/questions/30178756/uitoolbar-not-transparent-on-ipad2) – ilovecomputer Apr 28 '16 at 09:26
  • Transparent background is invisible on iPad 2 and visible iPad Air 2 . check pictures. – Ion Toma Apr 28 '16 at 10:10

1 Answers1

0

@foundry answered in this post UIToolbar not transparent on iPad2

Translucency - which uses blur - is computationally expensive.

If you compare the control panel or notification menu between iPad 2 and iPad Air, - you will see that Apple has disabled translucency on the lower powered device as it can't really cope.

That applies to iPad2, iPad3, iPad mini and maybe some older iPhones and iPod Touches. Even higher-powered devices can give poor results if you over-use these effects.

If you need a completely consistent look and feel, you should resist using properties that take advantage of translucency and blur effects. Another option is to play around with view alpha, background colour and tint to get a semi-tranparent look on devices that don't support translucency.

As iPad2 is lower powered device, translucency is disabled. That's why Transparent background is invisible in your project.

If you want to know if a device support Translucency, you can have a look at this post Check if device supports blur

Community
  • 1
  • 1
ilovecomputer
  • 4,238
  • 1
  • 20
  • 33