• 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: UIImageView and UIViewContentModeBottomLeft
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIImageView and UIViewContentModeBottomLeft


  • Subject: Re: UIImageView and UIViewContentModeBottomLeft
  • From: sebi <email@hidden>
  • Date: Thu, 5 Aug 2010 08:14:50 +0200

On 05.08.2010, at 02:41, David Duncan wrote:

> On Aug 4, 2010, at 4:46 PM, Jonathon Kuo wrote:
>
>> On Aug 4, 2010, at 9:43 AM, David Duncan wrote:
>>
>>> A UIView (really the CALayer owned by the view) can and will display content larger than its bounds if given to it.
>>
>> Is there a way to restrict this behavior, i.e., to make it that the UIView does not display content beyond its bounds? I'm dealing with this very problem. The content "spills" over onto other things.
>
>
> Typical method is to use clipsToBounds=YES to keep subviews (and views such as the above configured UIImageView) from spilling out of the view's bounds.

Cool, thanks, that did it.
What is the reason for clipsToBounds=YES is not being the default? I would think that's what most developers need.

Thanks and Regards,
Sebastian Mecklenburg

_______________________________________________

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: UIImageView and UIViewContentModeBottomLeft
      • From: David Duncan <email@hidden>
References: 
 >UIImageView and UIViewContentModeBottomLeft (From: sebi <email@hidden>)
 >Re: UIImageView and UIViewContentModeBottomLeft (From: David Duncan <email@hidden>)
 >Re: UIImageView and UIViewContentModeBottomLeft (From: Jonathon Kuo <email@hidden>)
 >Re: UIImageView and UIViewContentModeBottomLeft (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Importing to core data persistent document
  • Next by Date: Re: [Q] Enter Key & HIG
  • Previous by thread: Re: UIImageView and UIViewContentModeBottomLeft
  • Next by thread: Re: UIImageView and UIViewContentModeBottomLeft
  • Index(es):
    • Date
    • Thread