{"action":"created","issue":{"url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/582","repository_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController","labels_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/582/comments","events_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/582/events","html_url":"https://github.com/John-Lluch/SWRevealViewController/issues/582","id":155473387,"number":582,"title":"Back Button Issue","user":{"login":"amz4u2nv","id":949924,"avatar_url":"https://avatars.githubusercontent.com/u/949924?v=3","gravatar_id":"","url":"https://api.github.com/users/amz4u2nv","html_url":"https://github.com/amz4u2nv","followers_url":"https://api.github.com/users/amz4u2nv/followers","following_url":"https://api.github.com/users/amz4u2nv/following{/other_user}","gists_url":"https://api.github.com/users/amz4u2nv/gists{/gist_id}","starred_url":"https://api.github.com/users/amz4u2nv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amz4u2nv/subscriptions","organizations_url":"https://api.github.com/users/amz4u2nv/orgs","repos_url":"https://api.github.com/users/amz4u2nv/repos","events_url":"https://api.github.com/users/amz4u2nv/events{/privacy}","received_events_url":"https://api.github.com/users/amz4u2nv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-05-18T11:00:26Z","updated_at":"2016-05-18T15:19:58Z","closed_at":null,"body":"Hi,\r\nI'm having some difficulties in returning back to a previous screen - \r\nScreen A is put on the nav\r\nusing the code - \r\n```\r\n       BBR3DefaultNavController *navController1 = [[BBR3DefaultNavController alloc] initWithRootViewController:vc];\r\n        [navController1 setViewControllers: @[vc] animated: YES];\r\n        [navController1 setNavSpecs:vc];\r\n        [navController1 setBackButton:vc];\r\n      \r\n        \r\n         [self.revealViewController pushFrontViewController:navController1 animated:YES];\r\n        //Tried the below as well but doesnt make any difference\r\n        //[self.revealViewController setFrontViewController:navController1];\r\n        //[self.revealViewController setFrontViewPosition: FrontViewPositionLeft animated: YES];\r\n\r\n```\r\n\r\nIn my custom nav controller BBR3DefaultNavController a function setBackButton has the following for its action  -\r\n\r\n```\r\n    [self.mainController.navigationController popViewControllerAnimated:YES];\r\n    [self dismissViewControllerAnimated:YES completion:nil]; // ios 6\r\n    \r\n    SWRevealViewController *revealViewController = self.revealViewController;\r\n    if ( revealViewController )\r\n    {\r\n    }\r\n    [self.navigationController popViewControllerAnimated:YES];\r\n\r\n    [self.revealViewController.navigationController popViewControllerAnimated:YES];\r\n    [self.navigationController popToRootViewControllerAnimated:YES];\r\n    [self.mainController.revealViewController.navigationController popViewControllerAnimated:YES]; \r\n```\r\n\r\nBut none of these commands work.\r\n\r\nAny ideas to what I'm doing wrong.\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/comments/220060764","html_url":"https://github.com/John-Lluch/SWRevealViewController/issues/582#issuecomment-220060764","issue_url":"https://api.github.com/repos/John-Lluch/SWRevealViewController/issues/582","id":220060764,"user":{"login":"amz4u2nv","id":949924,"avatar_url":"https://avatars.githubusercontent.com/u/949924?v=3","gravatar_id":"","url":"https://api.github.com/users/amz4u2nv","html_url":"https://github.com/amz4u2nv","followers_url":"https://api.github.com/users/amz4u2nv/followers","following_url":"https://api.github.com/users/amz4u2nv/following{/other_user}","gists_url":"https://api.github.com/users/amz4u2nv/gists{/gist_id}","starred_url":"https://api.github.com/users/amz4u2nv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amz4u2nv/subscriptions","organizations_url":"https://api.github.com/users/amz4u2nv/orgs","repos_url":"https://api.github.com/users/amz4u2nv/repos","events_url":"https://api.github.com/users/amz4u2nv/events{/privacy}","received_events_url":"https://api.github.com/users/amz4u2nv/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T15:19:58Z","updated_at":"2016-05-18T15:19:58Z","body":"![simulator screen shot 18 may 2016 16 17 52](https://cloud.githubusercontent.com/assets/949924/15364371/3c3f2d52-1d14-11e6-8869-6258fcc80a7c.png)\r\n![simulator screen shot 18 may 2016 16 18 39](https://cloud.githubusercontent.com/assets/949924/15364377/3fda6102-1d14-11e6-8cd0-2b0a8ae44e24.png)\r\n\r\nSo when I click on more on the front view I get the second view... with the back button.\r\nbut the back button doesn't do anything."}}