{"action":"created","issue":{"url":"https://api.github.com/repos/CosmicMind/Material/issues/561","repository_url":"https://api.github.com/repos/CosmicMind/Material","labels_url":"https://api.github.com/repos/CosmicMind/Material/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/CosmicMind/Material/issues/561/comments","events_url":"https://api.github.com/repos/CosmicMind/Material/issues/561/events","html_url":"https://github.com/CosmicMind/Material/issues/561","id":184265097,"number":561,"title":"NavigationController back button not hiding","user":{"login":"peersocialdeal","id":22677219,"avatar_url":"https://avatars.githubusercontent.com/u/22677219?v=3","gravatar_id":"","url":"https://api.github.com/users/peersocialdeal","html_url":"https://github.com/peersocialdeal","followers_url":"https://api.github.com/users/peersocialdeal/followers","following_url":"https://api.github.com/users/peersocialdeal/following{/other_user}","gists_url":"https://api.github.com/users/peersocialdeal/gists{/gist_id}","starred_url":"https://api.github.com/users/peersocialdeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peersocialdeal/subscriptions","organizations_url":"https://api.github.com/users/peersocialdeal/orgs","repos_url":"https://api.github.com/users/peersocialdeal/repos","events_url":"https://api.github.com/users/peersocialdeal/events{/privacy}","received_events_url":"https://api.github.com/users/peersocialdeal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CosmicMind/Material/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"danieldahan","id":9982123,"avatar_url":"https://avatars.githubusercontent.com/u/9982123?v=3","gravatar_id":"","url":"https://api.github.com/users/danieldahan","html_url":"https://github.com/danieldahan","followers_url":"https://api.github.com/users/danieldahan/followers","following_url":"https://api.github.com/users/danieldahan/following{/other_user}","gists_url":"https://api.github.com/users/danieldahan/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldahan/subscriptions","organizations_url":"https://api.github.com/users/danieldahan/orgs","repos_url":"https://api.github.com/users/danieldahan/repos","events_url":"https://api.github.com/users/danieldahan/events{/privacy}","received_events_url":"https://api.github.com/users/danieldahan/received_events","type":"User","site_admin":false},"assignees":[{"login":"danieldahan","id":9982123,"avatar_url":"https://avatars.githubusercontent.com/u/9982123?v=3","gravatar_id":"","url":"https://api.github.com/users/danieldahan","html_url":"https://github.com/danieldahan","followers_url":"https://api.github.com/users/danieldahan/followers","following_url":"https://api.github.com/users/danieldahan/following{/other_user}","gists_url":"https://api.github.com/users/danieldahan/gists{/gist_id}","starred_url":"https://api.github.com/users/danieldahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieldahan/subscriptions","organizations_url":"https://api.github.com/users/danieldahan/orgs","repos_url":"https://api.github.com/users/danieldahan/repos","events_url":"https://api.github.com/users/danieldahan/events{/privacy}","received_events_url":"https://api.github.com/users/danieldahan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-10-20T15:39:20Z","updated_at":"2016-10-20T17:15:52Z","closed_at":null,"body":"Hi :)\r\n\r\nFirst of all, I really love this kit! <3\r\n\r\nSo, I'm developing an app right now. But I can't seem to figure out how I can hide the \"default\" back button on the navigation bar.\r\n\r\nMy setup (everything programmatically):\r\n\r\nNavigationController -> ViewController\r\n-> push\r\n(NavigationController) -> NavigationDrawerController -> XLPagerTabStrip* -> ViewControllers\r\n\r\nI removed the styling so I could start from scratch. It didn't help.\r\n\r\nIn my NavigationDrawerController viewDidAppear: \r\n(tried them all)\r\nnavigationItem.leftItemsSupplementBackButton = true\r\nnavigationItem.hidesBackButton = true\r\n\r\nnavigationItem.setHidesBackButton(true, ... )\r\n\r\nScreenshot (ViewController): http://sup.urb.li/2iMm\r\nScreenshot (ViewControllers + XLPagerTabStrip + DrawerController): http://sup.urb.li/18b5g\r\n\r\n*\r\nhttps://github.com/xmartlabs/XLPagerTabStrip\r\n\r\nPS: I'm not sure this is an issue, but it's my issue.\r\n\r\nHelp is appreciated :)\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/CosmicMind/Material/issues/comments/255169461","html_url":"https://github.com/CosmicMind/Material/issues/561#issuecomment-255169461","issue_url":"https://api.github.com/repos/CosmicMind/Material/issues/561","id":255169461,"user":{"login":"peersocialdeal","id":22677219,"avatar_url":"https://avatars.githubusercontent.com/u/22677219?v=3","gravatar_id":"","url":"https://api.github.com/users/peersocialdeal","html_url":"https://github.com/peersocialdeal","followers_url":"https://api.github.com/users/peersocialdeal/followers","following_url":"https://api.github.com/users/peersocialdeal/following{/other_user}","gists_url":"https://api.github.com/users/peersocialdeal/gists{/gist_id}","starred_url":"https://api.github.com/users/peersocialdeal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peersocialdeal/subscriptions","organizations_url":"https://api.github.com/users/peersocialdeal/orgs","repos_url":"https://api.github.com/users/peersocialdeal/repos","events_url":"https://api.github.com/users/peersocialdeal/events{/privacy}","received_events_url":"https://api.github.com/users/peersocialdeal/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T17:15:52Z","updated_at":"2016-10-20T17:15:52Z","body":"Awesome fast response ! 👍 \r\n\r\nYea, I figured my setup is that well. \r\n\r\nI'm kinda new to iOs dev, so this is my first \"real\" project. So still figuring out some things.\r\n\r\nThe way the drawer works now is to \"replace\" the page on the drawer root.\r\nBut the way I'm supposed to make it work is leaving the drawer to a new history item in the navigation history stack.\r\n\r\nscreenshot: http://sup.urb.li/1avf5 \r\n\r\ntop drawing is how I'm supposed to make it.\r\nbottom drawing is how the drawer is working now, and supposed too work.\r\n\r\n\r\nbtw: iOS/NavigationBar.swift -> 303, 304\r\nitem.hidesBackButton = false\r\nitem.setHidesBackButton(true, animated: false)\r\n\r\nIs this done so it animates? \r\nAnd if I'm correct it's hidden on default?\r\n\r\nThanks"}}
{"actor":{"display_login":"peersocialdeal"}}