Property 'maskedEdges' not found on object of type 'NotchKitW
sunyazhou13 opened this issue · comments
New issue checklist
- [yes ] I have reviewed the
README
- [yes] I have searched existing issues and this is not a duplicate
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
Hi there, thanks for filing a bug.
This has been fixed in v0.4.2.