{"action":"created","issue":{"url":"https://api.github.com/repos/bang590/JSPatch/issues/681","repository_url":"https://api.github.com/repos/bang590/JSPatch","labels_url":"https://api.github.com/repos/bang590/JSPatch/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/bang590/JSPatch/issues/681/comments","events_url":"https://api.github.com/repos/bang590/JSPatch/issues/681/events","html_url":"https://github.com/bang590/JSPatch/issues/681","id":197637525,"number":681,"title":"self.tabBarController().setSelectedViewController(viewcontroller) 出现Bug","user":{"login":"subo-romens","id":13702211,"avatar_url":"https://avatars.githubusercontent.com/u/13702211?v=3","gravatar_id":"","url":"https://api.github.com/users/subo-romens","html_url":"https://github.com/subo-romens","followers_url":"https://api.github.com/users/subo-romens/followers","following_url":"https://api.github.com/users/subo-romens/following{/other_user}","gists_url":"https://api.github.com/users/subo-romens/gists{/gist_id}","starred_url":"https://api.github.com/users/subo-romens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subo-romens/subscriptions","organizations_url":"https://api.github.com/users/subo-romens/orgs","repos_url":"https://api.github.com/users/subo-romens/repos","events_url":"https://api.github.com/users/subo-romens/events{/privacy}","received_events_url":"https://api.github.com/users/subo-romens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-27T02:55:00Z","updated_at":"2016-12-27T03:38:26Z","closed_at":null,"body":"  var tab_BarController= self.tabBarController();\r\n  var ViewControllers=tab_BarController.viewControllers();\r\n  var carViewControllers=ViewControllers[0];\r\n    self.tabBarController().setSelectedViewController(carViewControllers);    执行此方法是报错下图是错误信息，\r\n<img width=\"621\" alt=\"2016-12-27 10 49 38\" src=\"https://cloud.githubusercontent.com/assets/13702211/21489158/438039fe-cc22-11e6-8b5b-791a2b48536d.png\">\r\n跟踪时发现ViewControllers 没有类型 是否正常\r\n<img width=\"651\" alt=\"2016-12-27 10 53 18\" src=\"https://cloud.githubusercontent.com/assets/13702211/21489218/d0ff4d4c-cc22-11e6-8099-c4fe300a4f96.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bang590/JSPatch/issues/comments/269264906","html_url":"https://github.com/bang590/JSPatch/issues/681#issuecomment-269264906","issue_url":"https://api.github.com/repos/bang590/JSPatch/issues/681","id":269264906,"user":{"login":"bang590","id":329480,"avatar_url":"https://avatars.githubusercontent.com/u/329480?v=3","gravatar_id":"","url":"https://api.github.com/users/bang590","html_url":"https://github.com/bang590","followers_url":"https://api.github.com/users/bang590/followers","following_url":"https://api.github.com/users/bang590/following{/other_user}","gists_url":"https://api.github.com/users/bang590/gists{/gist_id}","starred_url":"https://api.github.com/users/bang590/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bang590/subscriptions","organizations_url":"https://api.github.com/users/bang590/orgs","repos_url":"https://api.github.com/users/bang590/repos","events_url":"https://api.github.com/users/bang590/events{/privacy}","received_events_url":"https://api.github.com/users/bang590/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T03:38:26Z","updated_at":"2016-12-27T03:38:26Z","body":"`var carViewControllers=ViewControllers[0];` 要改成 `var carViewControllers=ViewControllers.objectAtIndex(0)`"}}
{"actor":{"display_login":"bang590"}}