Skip to content

below/AutoLayoutScrollviewTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AutoLayoutScrollviewTest

Copyright notice at the end of this document

After a hint from @jaredsinclair, I changed the whole design to UICollectionView. This works rather nicely, for the most part.

But, there are still:

Questions

Everything works well in portrait mode, but when I switch to landscape, everything is gone … what gives?

I presume something is wrong with the AutoLayout Constraints of the cell or its imageView, will check that next.

The hint I get from the console is:

the behavior of the UICollectionViewFlowLayout is not defined because:
the item height must be less that the height of the UICollectionView minus the section insets top and bottom values.

The Fine Print

Code: Copyright (c) 2013 Alexander v. Below. All rights reserved.

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Pictures, used unter Creative Commons Attribution-ShareAlike 2.0 Generic License

http://www.flickr.com/photos/ioerror/104101285/ (Preview restricted)

Copyright (c) Jacob Appelbaum

IMG_6248

Copyright (c) Erin Emre Kasal

About

A sample project for using auto layout in UIScrollView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published