• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: White rectangle behind UIAlertView when subview clipsToBounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: White rectangle behind UIAlertView when subview clipsToBounds


  • Subject: Re: White rectangle behind UIAlertView when subview clipsToBounds
  • From: David Duncan <email@hidden>
  • Date: Thu, 15 May 2014 09:53:43 -0700

On May 15, 2014, at 8:42 AM, Diederik Meijer | Ten Horses <email@hidden> wrote:

> Dear list,
>
> I implemented a very straightforward UIAlertView.
>
> For some reason, on iPad, a light rectangular appears behind the alertview, here is what it looks like:
>
> http://www.tenhorses.com/apps/alertScreenshot.jpg
>
> What makes it strange is that that light rectangle is not visible when I take a screenshot, see jpg
>
> This only happens on iPad, not on iPhone.
>
> The centre part (the white card on the larger background) is a UIView that has a number of subviews.
>
> This UIView has clipsToBounds set to yes, because I have subviews flying in with animations.
>
> If I set clipsToBounds to NO, then the alertview is shown normally without any issues.
>
> Has anybody run into this and is there a way to fix this?

When it doesn’t appear in screenshots it usually means its a transient compositing error (as the screenshot re-composites the screen).

I’m not certain what exactly would cause this, but you might be served by better describing your view hierarchy (and I assume you are showing your alert with the -show method, and that it is a plain UIAlertView and not a subclass).

>
> Many thanks,
>
> Diederik
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
David Duncan


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: White rectangle behind UIAlertView when subview clipsToBounds
      • From: Diederik Meijer | Ten Horses <email@hidden>
References: 
 >White rectangle behind UIAlertView when subview clipsToBounds (From: Diederik Meijer | Ten Horses <email@hidden>)

  • Prev by Date: Not getting mouseDown: called when control-clicking in view in menu item
  • Next by Date: Re: Client certificate extraction out of SSL/TLS Connection on server side
  • Previous by thread: White rectangle behind UIAlertView when subview clipsToBounds
  • Next by thread: Re: White rectangle behind UIAlertView when subview clipsToBounds
  • Index(es):
    • Date
    • Thread