{"action":"created","issue":{"url":"https://api.github.com/repos/clayallsopp/routable-ios/issues/36","labels_url":"https://api.github.com/repos/clayallsopp/routable-ios/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/clayallsopp/routable-ios/issues/36/comments","events_url":"https://api.github.com/repos/clayallsopp/routable-ios/issues/36/events","html_url":"https://github.com/clayallsopp/routable-ios/issues/36","id":69731871,"number":36,"title":"how to do when using UITabBarController","user":{"login":"caotian","id":3139199,"avatar_url":"https://avatars.githubusercontent.com/u/3139199?v=3","gravatar_id":"","url":"https://api.github.com/users/caotian","html_url":"https://github.com/caotian","followers_url":"https://api.github.com/users/caotian/followers","following_url":"https://api.github.com/users/caotian/following{/other_user}","gists_url":"https://api.github.com/users/caotian/gists{/gist_id}","starred_url":"https://api.github.com/users/caotian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caotian/subscriptions","organizations_url":"https://api.github.com/users/caotian/orgs","repos_url":"https://api.github.com/users/caotian/repos","events_url":"https://api.github.com/users/caotian/events{/privacy}","received_events_url":"https://api.github.com/users/caotian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-21T03:17:08Z","updated_at":"2015-12-30T10:34:14Z","closed_at":"2015-04-21T21:35:54Z","body":"I'm using UITabBarController，each tabbar item is UINavigationController，so I have 4 tabbar items and 4 UINavigationControllers, how can i setNavigationController?"},"comment":{"url":"https://api.github.com/repos/clayallsopp/routable-ios/issues/comments/167974657","html_url":"https://github.com/clayallsopp/routable-ios/issues/36#issuecomment-167974657","issue_url":"https://api.github.com/repos/clayallsopp/routable-ios/issues/36","id":167974657,"user":{"login":"ForrestAlfred","id":8122371,"avatar_url":"https://avatars.githubusercontent.com/u/8122371?v=3","gravatar_id":"","url":"https://api.github.com/users/ForrestAlfred","html_url":"https://github.com/ForrestAlfred","followers_url":"https://api.github.com/users/ForrestAlfred/followers","following_url":"https://api.github.com/users/ForrestAlfred/following{/other_user}","gists_url":"https://api.github.com/users/ForrestAlfred/gists{/gist_id}","starred_url":"https://api.github.com/users/ForrestAlfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForrestAlfred/subscriptions","organizations_url":"https://api.github.com/users/ForrestAlfred/orgs","repos_url":"https://api.github.com/users/ForrestAlfred/repos","events_url":"https://api.github.com/users/ForrestAlfred/events{/privacy}","received_events_url":"https://api.github.com/users/ForrestAlfred/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T10:34:14Z","updated_at":"2015-12-30T10:34:14Z","body":"Simply call this delegate method can make it.\r\n\r\n-(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController {\r\n    UINavigationController *navigationConrollerModel = tabBarController.childViewControllers[tabBarController.selectedIndex];\r\n    [[Routable sharedRouter] setNavigationController:navigationConrollerModel];\r\n}"}}