{"action":"opened","issue":{"url":"https://api.github.com/repos/quickbirdstudios/RxCoordinator/issues/15","repository_url":"https://api.github.com/repos/quickbirdstudios/RxCoordinator","labels_url":"https://api.github.com/repos/quickbirdstudios/RxCoordinator/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/quickbirdstudios/RxCoordinator/issues/15/comments","events_url":"https://api.github.com/repos/quickbirdstudios/RxCoordinator/issues/15/events","html_url":"https://github.com/quickbirdstudios/RxCoordinator/issues/15","id":351985387,"node_id":"MDU6SXNzdWUzNTE5ODUzODc=","number":15,"title":"Transition between coordinators have problems with \"whose view is not in the window hierarchy!\"","user":{"login":"lucio1392","id":13637757,"node_id":"MDQ6VXNlcjEzNjM3NzU3","avatar_url":"https://avatars0.githubusercontent.com/u/13637757?v=4","gravatar_id":"","url":"https://api.github.com/users/lucio1392","html_url":"https://github.com/lucio1392","followers_url":"https://api.github.com/users/lucio1392/followers","following_url":"https://api.github.com/users/lucio1392/following{/other_user}","gists_url":"https://api.github.com/users/lucio1392/gists{/gist_id}","starred_url":"https://api.github.com/users/lucio1392/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucio1392/subscriptions","organizations_url":"https://api.github.com/users/lucio1392/orgs","repos_url":"https://api.github.com/users/lucio1392/repos","events_url":"https://api.github.com/users/lucio1392/events{/privacy}","received_events_url":"https://api.github.com/users/lucio1392/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-20T04:58:12Z","updated_at":"2018-08-20T04:58:12Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm trying to change `initialRoute` depend on `business logic` but I got a problem with the warning `\"whose view is not in the window hierarchy!\"`\r\n\r\n**The code blow taken from repo's example**\r\n\r\n```\r\n/// I have change from .Login to .Home at AppDelegate\r\ncoordinator = BasicCoordinator<MainRoute>(initialRoute: .home, initialLoadingType: .immediately) \r\n\r\nlet window = UIWindow(frame: UIScreen.main.bounds)\r\nwindow.rootViewController = coordinator.rootViewController\r\nwindow.makeKeyAndVisible()\r\nself.window = window\r\n```\r\nThen I got the error \r\n```Warning: Attempt to present <UINavigationController: 0x7face0815400> on <UINavigationController: 0x7face1822e00> whose view is not in the window hierarchy!```\r\n\r\nCan some one tell me what cause this problems ? And how to fix this bug ?"}}
{"actor":{"display_login":"lucio1392"}}