• 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: Auto-Layout Strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto-Layout Strangeness


  • Subject: Re: Auto-Layout Strangeness
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 31 Jul 2014 13:12:46 +0200

On 30 Jul 2014, at 19:18, Dave <email@hidden> wrote:
> The problem is that the drawRect method in “FrameRect” does not get called and it’s background colour doesn’t get set either. When I first created this view, I had Auto-Layout enabled and in this case the background colour is set ok and the drawRect is called.

Stab in the dark: Is someone mucking with the layer behind the view? On Mac I'd say someone is calling setContent: or setDelegate: on the CALayer, but I don't think CGLayer on iOS has that.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de


_______________________________________________

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: Auto-Layout Strangeness
      • From: Dave <email@hidden>
References: 
 >Auto-Layout Strangeness (From: Dave <email@hidden>)

  • Prev by Date: Re: start with OSX 5.1.1
  • Next by Date: Re: Auto-Layout Strangeness
  • Previous by thread: Re: Auto-Layout Strangeness
  • Next by thread: Re: Auto-Layout Strangeness
  • Index(es):
    • Date
    • Thread