HarshilShah / NotchKit

A simple way to hide the notch on the iPhone X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sunyazhou13 opened this issue · comments

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

Hi there, thanks for filing a bug.

This has been fixed in v0.4.2.