• 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: David Duncan <email@hidden>
  • Date: Wed, 4 Aug 2010 17:41:44 -0700

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.
--
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: UIImageView and UIViewContentModeBottomLeft
      • From: sebi <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>)

  • Prev by Date: Re: Getting a list of web browsers
  • Next by Date: Re: Drag'n Drop Mail.app message to Cocoa app
  • Previous by thread: Re: UIImageView and UIViewContentModeBottomLeft
  • Next by thread: Re: UIImageView and UIViewContentModeBottomLeft
  • Index(es):
    • Date
    • Thread