{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/114","labels_url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/114/comments","events_url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/114/events","html_url":"https://github.com/facebook/ios-snapshot-test-case/issues/114","id":106803484,"number":114,"title":"Reference Image has wrong size","user":{"login":"peacemoon","id":478757,"avatar_url":"https://avatars.githubusercontent.com/u/478757?v=3","gravatar_id":"","url":"https://api.github.com/users/peacemoon","html_url":"https://github.com/peacemoon","followers_url":"https://api.github.com/users/peacemoon/followers","following_url":"https://api.github.com/users/peacemoon/following{/other_user}","gists_url":"https://api.github.com/users/peacemoon/gists{/gist_id}","starred_url":"https://api.github.com/users/peacemoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peacemoon/subscriptions","organizations_url":"https://api.github.com/users/peacemoon/orgs","repos_url":"https://api.github.com/users/peacemoon/repos","events_url":"https://api.github.com/users/peacemoon/events{/privacy}","received_events_url":"https://api.github.com/users/peacemoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-16T15:53:45Z","updated_at":"2015-09-18T23:19:54Z","closed_at":null,"body":"I'm trying to create reference images for views of my view controller for different devices so that I can test the screenshot of my views later.\r\n\r\nI'm trying do something like this\r\n\r\n```\r\nfunc testLoginViewController() {\r\n    let storyboard = UIStoryboard(name: \"Main\", bundle: nil)\r\n    let navViewController = storyboard.instantiateInitialViewController()\r\n    let viewController = navViewController.topViewController as! LoginViewController\r\n    FBSnapshotVerifyView(viewController.view)\r\n}\r\n```\r\nI can successfully create the reference images but all the images have the size of 640x960 although I run different simulators (iPhone 4s -> iPhone 6 Plus).\r\n\r\nDoes anyone know where the problem is?"},"comment":{"url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/comments/141592451","html_url":"https://github.com/facebook/ios-snapshot-test-case/issues/114#issuecomment-141592451","issue_url":"https://api.github.com/repos/facebook/ios-snapshot-test-case/issues/114","id":141592451,"user":{"login":"nscoding","id":185995,"avatar_url":"https://avatars.githubusercontent.com/u/185995?v=3","gravatar_id":"","url":"https://api.github.com/users/nscoding","html_url":"https://github.com/nscoding","followers_url":"https://api.github.com/users/nscoding/followers","following_url":"https://api.github.com/users/nscoding/following{/other_user}","gists_url":"https://api.github.com/users/nscoding/gists{/gist_id}","starred_url":"https://api.github.com/users/nscoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nscoding/subscriptions","organizations_url":"https://api.github.com/users/nscoding/orgs","repos_url":"https://api.github.com/users/nscoding/repos","events_url":"https://api.github.com/users/nscoding/events{/privacy}","received_events_url":"https://api.github.com/users/nscoding/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T23:19:54Z","updated_at":"2015-09-18T23:19:54Z","body":"even when you use `usesDrawViewHierarchyInRect` ?"}}