{"action":"created","issue":{"url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/174","repository_url":"https://api.github.com/repos/kitasuke/PagingMenuController","labels_url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/174/comments","events_url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/174/events","html_url":"https://github.com/kitasuke/PagingMenuController/issues/174","id":140086862,"number":174,"title":"some part of View2 out of range and appear on View1","user":{"login":"SuYungCheng","id":17446246,"avatar_url":"https://avatars.githubusercontent.com/u/17446246?v=3","gravatar_id":"","url":"https://api.github.com/users/SuYungCheng","html_url":"https://github.com/SuYungCheng","followers_url":"https://api.github.com/users/SuYungCheng/followers","following_url":"https://api.github.com/users/SuYungCheng/following{/other_user}","gists_url":"https://api.github.com/users/SuYungCheng/gists{/gist_id}","starred_url":"https://api.github.com/users/SuYungCheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuYungCheng/subscriptions","organizations_url":"https://api.github.com/users/SuYungCheng/orgs","repos_url":"https://api.github.com/users/SuYungCheng/repos","events_url":"https://api.github.com/users/SuYungCheng/events{/privacy}","received_events_url":"https://api.github.com/users/SuYungCheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-11T04:55:55Z","updated_at":"2016-04-13T10:47:29Z","closed_at":null,"body":"I implement two Views(view1 and view2)\r\nfirst it shows view1 on my screen , but on the right of the screen , there shows the View2's left part\r\nafter I slide to  View2, and go back to View1. It become normal.\r\nhttp://imgur.com/a/dzi7H\r\nI use Swift Xcode 7.2.1\r\n\r\n\r\n        let storyboard_first = UIStoryboard(name: \"First\", bundle: nil)\r\n        let storyboard_sec = UIStoryboard(name: \"Second\", bundle: nil)\r\n        let viewController = storyboard_first.instantiateViewControllerWithIdentifier(\"collect_science\")\r\n        viewController.title = \"collect_science\"\r\n        \r\n        let viewController2 = storyboard_sec.instantiateViewControllerWithIdentifier(\"vc_MyDiy2\")\r\n        viewController2.title = \"DIY\"\r\n        \r\n        \r\n        \r\n        let viewControllers = [viewController, viewController2]//\r\n        \r\n        let options = PagingMenuOptions()\r\n        options.defaultPage = 0\r\n        options.selectedTextColor = UIColor.whiteColor()\r\n        options.menuItemMargin = 5\r\n        options.menuHeight = 60\r\n        options.menuItemMode = PagingMenuOptions.MenuItemMode.None\r\n        options.menuDisplayMode = PagingMenuOptions.MenuDisplayMode.SegmentedControl\r\n        \r\n        let pagingMenuController = PagingMenuController(viewControllers: viewControllers, options: options)\r\n        pagingMenuController.view.frame.origin.y += 64\r\n        pagingMenuController.view.frame.size.height -= 64\r\n        \r\n        addChildViewController(pagingMenuController)\r\n        view.addSubview(pagingMenuController.view)\r\n        pagingMenuController.didMoveToParentViewController(self)\r\n        \r\n    }\r\n"},"comment":{"url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/comments/209363544","html_url":"https://github.com/kitasuke/PagingMenuController/issues/174#issuecomment-209363544","issue_url":"https://api.github.com/repos/kitasuke/PagingMenuController/issues/174","id":209363544,"user":{"login":"kitasuke","id":1732312,"avatar_url":"https://avatars.githubusercontent.com/u/1732312?v=3","gravatar_id":"","url":"https://api.github.com/users/kitasuke","html_url":"https://github.com/kitasuke","followers_url":"https://api.github.com/users/kitasuke/followers","following_url":"https://api.github.com/users/kitasuke/following{/other_user}","gists_url":"https://api.github.com/users/kitasuke/gists{/gist_id}","starred_url":"https://api.github.com/users/kitasuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitasuke/subscriptions","organizations_url":"https://api.github.com/users/kitasuke/orgs","repos_url":"https://api.github.com/users/kitasuke/repos","events_url":"https://api.github.com/users/kitasuke/events{/privacy}","received_events_url":"https://api.github.com/users/kitasuke/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T10:47:29Z","updated_at":"2016-04-13T10:47:29Z","body":"It looks like it's an constraints issue. I'll look into this issue and let you know what's wrong."}}