Labels in header views sometimes became misaligned from the rest of the collection view content after rotation. The cause was header views were not always handling layoutMargin changes. This change is similar to what CollectionViewCell is already doing.
Labels in header views sometimes became misaligned from the rest of the collection view content after rotation. The cause was header views were not always handling layoutMargin changes. This change is similar to what CollectionViewCell is already doing.

wikimedia/wikipedia-ios,wikimedia/wikipedia-ios,josve05a/wikipedia-ios,josve05a/wikipedia-ios,wikimedia/wikipedia-ios,josve05a/wikipedia-ios,wikimedia/wikipedia-ios,josve05a/wikipedia-ios,josve05a/wikipedia-ios,wikimedia/wikipedia-ios,wikimedia/wikipedia-ios,josve05a/wikipedia-ios,josve05a/wikipedia-ios,wikimedia/wikipedia-ios,josve05a/wikipedia-ios