{"action":"created","issue":{"url":"https://api.github.com/repos/IdleHandsApps/StatusBarOverlay/issues/5","repository_url":"https://api.github.com/repos/IdleHandsApps/StatusBarOverlay","labels_url":"https://api.github.com/repos/IdleHandsApps/StatusBarOverlay/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/IdleHandsApps/StatusBarOverlay/issues/5/comments","events_url":"https://api.github.com/repos/IdleHandsApps/StatusBarOverlay/issues/5/events","html_url":"https://github.com/IdleHandsApps/StatusBarOverlay/issues/5","id":373275846,"node_id":"MDU6SXNzdWUzNzMyNzU4NDY=","number":5,"title":"Layout constraints are broken in landscape mode.","user":{"login":"mota-raven","id":31499575,"node_id":"MDQ6VXNlcjMxNDk5NTc1","avatar_url":"https://avatars1.githubusercontent.com/u/31499575?v=4","gravatar_id":"","url":"https://api.github.com/users/mota-raven","html_url":"https://github.com/mota-raven","followers_url":"https://api.github.com/users/mota-raven/followers","following_url":"https://api.github.com/users/mota-raven/following{/other_user}","gists_url":"https://api.github.com/users/mota-raven/gists{/gist_id}","starred_url":"https://api.github.com/users/mota-raven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mota-raven/subscriptions","organizations_url":"https://api.github.com/users/mota-raven/orgs","repos_url":"https://api.github.com/users/mota-raven/repos","events_url":"https://api.github.com/users/mota-raven/events{/privacy}","received_events_url":"https://api.github.com/users/mota-raven/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T02:16:27Z","updated_at":"2018-10-26T01:47:34Z","closed_at":"2018-10-26T01:47:34Z","author_association":"NONE","body":"In landscape mode, you'll get warnings of the layout constraints.\r\nWhen I just remove StatusBarOverlay from my sample project, I didn't get the warnings.\r\nThe status bar is hidden.\r\n\r\niOS: 12.0.1\r\ndevice: iPhone XS max\r\n\r\n`2018-10-24 10:54:48.322549+0900 testapp[5938:1838560] [LayoutConstraints] Unable to simultaneously satisfy constraints.\r\n\tProbably at least one of the constraints in the following list is one you don't want. \r\n\tTry this: \r\n\t\t(1) look at each constraint and try to figure out which you don't expect; \r\n\t\t(2) find the code that added the unwanted constraint or constraints and fix it. \r\n(\r\n    \"<NSLayoutConstraint:0x283dc85a0 UIButton:0x10be02960.width == 44   (active)>\",\r\n    \"<NSLayoutConstraint:0x283dc97c0 H:|-(0)-[UIButton:0x10be02960]   (active, names: '|':UIView:0x10be067d0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9900 H:[UIButton:0x10be03150]-(0)-|   (active, names: '|':UIView:0x10be067d0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9950 H:[UIButton:0x10be02960]-(0)-[UIButton:0x10be03150]   (active)>\",\r\n    \"<NSLayoutConstraint:0x283dc9d60 H:[UIView:0x10be067d0]-(0)-|   (active, names: '|':UIView:0x10be065f0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9db0 H:|-(0)-[UIView:0x10be067d0]   (active, names: '|':UIView:0x10be065f0 )>\",\r\n    \"<NSLayoutConstraint:0x283de4410 'UIView-Encapsulated-Layout-Width' UIView:0x10be065f0.width == 0   (active)>\"\r\n)\r\n\r\nWill attempt to recover by breaking constraint \r\n<NSLayoutConstraint:0x283dc85a0 UIButton:0x10be02960.width == 44   (active)>\r\n\r\nMake a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.\r\nThe methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.\r\n2018-10-24 10:54:48.323375+0900 testapp[5938:1838560] [LayoutConstraints] Unable to simultaneously satisfy constraints.\r\n\tProbably at least one of the constraints in the following list is one you don't want. \r\n\tTry this: \r\n\t\t(1) look at each constraint and try to figure out which you don't expect; \r\n\t\t(2) find the code that added the unwanted constraint or constraints and fix it. \r\n(\r\n    \"<NSLayoutConstraint:0x283dc8550 UIButton:0x10be02960.width == UIButton:0x10be02960.height   (active)>\",\r\n    \"<NSLayoutConstraint:0x283dc96d0 UIView:0x10be067d0.height == 44   (active)>\",\r\n    \"<NSLayoutConstraint:0x283dc9720 V:[UIButton:0x10be02960]-(0)-|   (active, names: '|':UIView:0x10be067d0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9770 V:|-(0)-[UIButton:0x10be02960]   (active, names: '|':UIView:0x10be067d0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc97c0 H:|-(0)-[UIButton:0x10be02960]   (active, names: '|':UIView:0x10be067d0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9900 H:[UIButton:0x10be03150]-(0)-|   (active, names: '|':UIView:0x10be067d0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9950 H:[UIButton:0x10be02960]-(0)-[UIButton:0x10be03150]   (active)>\",\r\n    \"<NSLayoutConstraint:0x283dc9d60 H:[UIView:0x10be067d0]-(0)-|   (active, names: '|':UIView:0x10be065f0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9db0 H:|-(0)-[UIView:0x10be067d0]   (active, names: '|':UIView:0x10be065f0 )>\",\r\n    \"<NSLayoutConstraint:0x283de4410 'UIView-Encapsulated-Layout-Width' UIView:0x10be065f0.width == 0   (active)>\"\r\n)\r\n\r\nWill attempt to recover by breaking constraint \r\n<NSLayoutConstraint:0x283dc8550 UIButton:0x10be02960.width == UIButton:0x10be02960.height   (active)>\r\n\r\nMake a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.\r\nThe methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.\r\n2018-10-24 10:54:48.326489+0900 testapp[5938:1838560] [LayoutConstraints] Unable to simultaneously satisfy constraints.\r\n\tProbably at least one of the constraints in the following list is one you don't want. \r\n\tTry this: \r\n\t\t(1) look at each constraint and try to figure out which you don't expect; \r\n\t\t(2) find the code that added the unwanted constraint or constraints and fix it. \r\n(\r\n    \"<NSLayoutConstraint:0x283dc9810 H:|-(44)-[UILabel:0x10be03660'Additional Message']   (active, names: '|':UIView:0x10be067d0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9860 H:[UILabel:0x10be03660'Additional Message']-(44)-|   (active, names: '|':UIView:0x10be067d0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9d60 H:[UIView:0x10be067d0]-(0)-|   (active, names: '|':UIView:0x10be065f0 )>\",\r\n    \"<NSLayoutConstraint:0x283dc9db0 H:|-(0)-[UIView:0x10be067d0]   (active, names: '|':UIView:0x10be065f0 )>\",\r\n    \"<NSLayoutConstraint:0x283de4410 'UIView-Encapsulated-Layout-Width' UIView:0x10be065f0.width == 0   (active)>\"\r\n)\r\n\r\nWill attempt to recover by breaking constraint \r\n<NSLayoutConstraint:0x283dc9860 H:[UILabel:0x10be03660'Additional Message']-(44)-|   (active, names: '|':UIView:0x10be067d0 )>\r\n\r\nMake a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.\r\nThe methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.\r\n(lldb) `"},"comment":{"url":"https://api.github.com/repos/IdleHandsApps/StatusBarOverlay/issues/comments/433259589","html_url":"https://github.com/IdleHandsApps/StatusBarOverlay/issues/5#issuecomment-433259589","issue_url":"https://api.github.com/repos/IdleHandsApps/StatusBarOverlay/issues/5","id":433259589,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzI1OTU4OQ==","user":{"login":"mota-raven","id":31499575,"node_id":"MDQ6VXNlcjMxNDk5NTc1","avatar_url":"https://avatars1.githubusercontent.com/u/31499575?v=4","gravatar_id":"","url":"https://api.github.com/users/mota-raven","html_url":"https://github.com/mota-raven","followers_url":"https://api.github.com/users/mota-raven/followers","following_url":"https://api.github.com/users/mota-raven/following{/other_user}","gists_url":"https://api.github.com/users/mota-raven/gists{/gist_id}","starred_url":"https://api.github.com/users/mota-raven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mota-raven/subscriptions","organizations_url":"https://api.github.com/users/mota-raven/orgs","repos_url":"https://api.github.com/users/mota-raven/repos","events_url":"https://api.github.com/users/mota-raven/events{/privacy}","received_events_url":"https://api.github.com/users/mota-raven/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T01:47:34Z","updated_at":"2018-10-26T01:47:34Z","author_association":"NONE","body":"I carelessly moved the initializing position of \"StatusBarOverlay.host\".\r\nBack to application(_:didFinishLaunchingWithOptions) works perfectly.\r\nSorry ;)"}}
{"actor":{"display_login":"mota-raven"}}