-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 12 Compatibility? #80
Comments
Hi @markturnip - |
@markturnip I was seeing the same errors when using |
@smurphy Not too sure afraid. Haven't got the time to investigate fully. I'm checking for both header kinds, so I don't think I'm sharing the same issue. Thanks but. if [MagazineLayout.SupplementaryViewKind.sectionHeader, UICollectionView.elementKindSectionHeader].contains(kind) {
let header = view.dequeueReusableSupplementaryView(
ofKind: UICollectionView.elementKindSectionHeader,
withReuseIdentifier: ScheduleHeaderView.identifier,
for: indexPath) as! ScheduleHeaderView
return header
|
My header frame just resolves to zero rect every time in iOS Could perhaps be something to do with implicit layout height being added:
Edit: Or rather it looks like it's due to having used Storyboards, as all my headers are defined as |
Alright confirmed that it's due to having defined my headers & footers in storyboards. I'm reluctant to do so for my entire project as I do prefer to work entirely in storyboards. However perhaps it's my only option without being able to define custom element kind's in storyboard. |
It appears there's a few issues with iOS 12.
One of which being a crash which may be related to #77.
Also some trouble with headers especially when pinning to bounds.
I can provide more details here, however should this library have support for iOS12?
The text was updated successfully, but these errors were encountered: