Skip to content

Top corners are not rounded when view is created in code #17

@tvik

Description

@tvik

First I want to say this is great. I was working on the same thing with now progress until I found your project, thanks for that.

I am creating my view in code and the top corners are not rounded when the MPNotificationView is positioned at 0, 0. When I position the MPNotificationView under the status bar the corners are rounded as they should be. To try and figure what was wrong I just created two skeleton apps, one using a nib for the main window and the other created in code. I don't know why it should make a difference, but it does. Any suggestions? I have not touched any of your code just included the MPNotificationView and OBGradientView in my projects.

Thanks again! Great work!

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