{"action":"opened","issue":{"url":"https://api.github.com/repos/HarshilShah/NotchKit/issues/2","repository_url":"https://api.github.com/repos/HarshilShah/NotchKit","labels_url":"https://api.github.com/repos/HarshilShah/NotchKit/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/HarshilShah/NotchKit/issues/2/comments","events_url":"https://api.github.com/repos/HarshilShah/NotchKit/issues/2/events","html_url":"https://github.com/HarshilShah/NotchKit/issues/2","id":258267193,"number":2,"title":"-[UIScreen isiPhoneX]: unrecognized selector sent to instance","user":{"login":"roonieone","id":10133782,"avatar_url":"https://avatars0.githubusercontent.com/u/10133782?v=4","gravatar_id":"","url":"https://api.github.com/users/roonieone","html_url":"https://github.com/roonieone","followers_url":"https://api.github.com/users/roonieone/followers","following_url":"https://api.github.com/users/roonieone/following{/other_user}","gists_url":"https://api.github.com/users/roonieone/gists{/gist_id}","starred_url":"https://api.github.com/users/roonieone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roonieone/subscriptions","organizations_url":"https://api.github.com/users/roonieone/orgs","repos_url":"https://api.github.com/users/roonieone/repos","events_url":"https://api.github.com/users/roonieone/events{/privacy}","received_events_url":"https://api.github.com/users/roonieone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-17T00:04:37Z","updated_at":"2017-09-17T00:04:37Z","closed_at":null,"author_association":"NONE","body":"Not really sure why this is happening. I set the extension and computed property to `public` and it didn't fix anything. Happens when `updateCornerRadii()` gets called in `layoutSubviews()`.\r\n\r\n**Temporary fix:** I added this\r\n```swift\r\nprivate var isiPhoneX: Bool {\r\n      return screen.nativeBounds.height == 2436 && screen.nativeBounds.width  == 1125\r\n}\r\n```\r\nto `NotchKitWindow` and replaced all instances of `screen.isiPhoneX` with `isiPhoneX`."}}
{"actor":{"display_login":"roonieone"}}