Re: UICollectionViewCell and UIScrollView and autolayout
Re: UICollectionViewCell and UIScrollView and autolayout
- Subject: Re: UICollectionViewCell and UIScrollView and autolayout
- From: Luke Hiesterman <email@hidden>
- Date: Mon, 26 May 2014 15:59:04 +0000
- Thread-topic: UICollectionViewCell and UIScrollView and autolayout
Why is autolayout assigning a frame to the cell? Are you putting autolayout constraints on your cell? If so, shouldn’t be. The collection view assigns the cell’s frame (according to the wishes of the assigned collectionViewLayout). Setting the frame yourself, either by calling -setFrame or something that will affect frame on your behalf, such as using autolayout constraints, or autoresizing masks on the cell is unsupported.
Luke
On May 26, 2014, at 8:00 AM, Torsten Curdt <email@hidden<mailto:email@hidden>> wrote:
autolayout has assigned a frame to the cell
_______________________________________________
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