I've built a little demo project where I am struggling with autolayout.

  https://github.com/tcurdt/paging-and-zooming

I basically have a fullscreen collection view to page through some
scroll views that allow zooming into an image.

When the UICollectionViewCells are being configured

  
https://github.com/tcurdt/paging-and-zooming/blob/master/Paging/TCPagingView.m#L159

autolayout has assigned a frame to the cell. But somehow the
UIScrollView is still at CGRectZero ...and somehow I cannot convince
autolayout to assign the proper frame.

Oddly enough it still show the image though - I just cannot center the
scroll view.

My head hurts. If someone with some more autolayout experience could
share some wise word - that would be awesome.

cheers,
Torsten
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to