Skip to content
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

Property 'maskedEdges' not found on object of type 'NotchKitW #17

Closed
sunyazhou13 opened this issue Jan 25, 2018 · 1 comment
Closed

Comments

@sunyazhou13
Copy link

sunyazhou13 commented Jan 25, 2018

New issue checklist

if (@available(iOS 11, *)) {
NotchKitWindow *notchWindow = [[NotchKitWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// [notchWindow setMaskedEdges:UIRectEdgeNone];
notchWindow.maskedEdges = UIRectEdgeNone;
self.window = notchWindow;
} else {
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
}

error is Property 'maskedEdges' not found on object of type 'NotchKitWindow *'

swift 4.0 var must add the @objc refs ==> https://stackoverflow.com/questions/45656671/unable-to-access-swift-class-from-objective-c-property-not-found-on-object-of

@HarshilShah
Copy link
Owner

Hi there, thanks for filing a bug.

This has been fixed in v0.4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants