Skip to content

Safe Area vs Top Layout Guide  #5

Description

@onedv

Hi! Thanks a lot for this cool library :)

I use Swift 4 with latest Xcode 9 and want to embed a table in the view of my main view controller, which I embedded in a navigation controller via the storyboard in interface builder, looks quite similar to the cupcake demo. Now on newer projects, I do not have the top and bottom layout guides, as they are deprecated, only the safe area. When I add a GroupTable to my main view now, the navigation item / bar on top overlays the group table I created. I have to add it with e.g. addTo(self.view, 60, 0, 0, 0) in setupUI so that the table is rendered below the navigation bar. If I run the same code on iOS 9.3 devices (with 60
top), this adds a not so nice margin between the header and the table, meaning I have to use different parameters for addTo for iOS 9.3 and iOS 11
to get the same result. Do you know if this needs a fix in the library or is the problem somewhere else / can be fixed otherwise?

Thanks a lot for your support!
Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions