I tried translating Apple's CollectionView-Simple demo app from Objective-C to Swift 1.2 using Xcode 6.3 and a fresh project. It's not working right. Specifically, the view does not size itself properly when rotating the device. It also has sizing issues in portrait mode that are different for iPhone 5s and iPad 2.
I've hunted through the storyboard for differences and can't find the issue. I don't know what the relevant code to post is, so I have the whole thing up on GitHub:
https://github.com/DavidSteuber/CollViewSwift
Does anyone see the problem and how to solve it?
0 comments:
Post a Comment