Posts

Post not yet marked as solved
5 Replies
Well i fixed it by installing xcode 10.3 again,building the storyboard and then open the project in xcode 11 and never touch the Collectionview again.There is something terrible broken. In xcode 10.3 everything works fine.It has something todo with the ContentView of the UICollectionViewCell and it only affects CollectionViewCells which are added in xCode 11.CollectionViewCells which were added prior to xcode 11 are working fine.I can disable "Content View" within the Size-Inspector of the CollectionViewCell, which is new, but autolayout doesn't work anymore if you disable "Content View"
Post not yet marked as solved
5 Replies
Well, this should work, but now i need update all constraints for all images, set the constants of all constraints instead of just setting width and height of the cell.So this is no solution. It also happens with labels.The collectionview definitely ask the delegate for the itemsize, but resets it to the contentsize of its label in the cell.Is there any new option i need to uncheck?!This behavior is strange and doesn’t exist in older xcode versions.