{"action":"created","issue":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/370","labels_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/370/labels{/name}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/370/comments","events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/370/events","html_url":"https://github.com/ResearchKit/ResearchKit/pull/370","id":99877221,"number":370,"title":"iOS9 iPad split view support","user":{"login":"YuanZhu-apple","id":11466704,"avatar_url":"https://avatars.githubusercontent.com/u/11466704?v=3","gravatar_id":"","url":"https://api.github.com/users/YuanZhu-apple","html_url":"https://github.com/YuanZhu-apple","followers_url":"https://api.github.com/users/YuanZhu-apple/followers","following_url":"https://api.github.com/users/YuanZhu-apple/following{/other_user}","gists_url":"https://api.github.com/users/YuanZhu-apple/gists{/gist_id}","starred_url":"https://api.github.com/users/YuanZhu-apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuanZhu-apple/subscriptions","organizations_url":"https://api.github.com/users/YuanZhu-apple/orgs","repos_url":"https://api.github.com/users/YuanZhu-apple/repos","events_url":"https://api.github.com/users/YuanZhu-apple/events{/privacy}","received_events_url":"https://api.github.com/users/YuanZhu-apple/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-09T08:50:06Z","updated_at":"2015-08-25T23:47:00Z","closed_at":"2015-08-12T20:12:14Z","pull_request":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/370","html_url":"https://github.com/ResearchKit/ResearchKit/pull/370","diff_url":"https://github.com/ResearchKit/ResearchKit/pull/370.diff","patch_url":"https://github.com/ResearchKit/ResearchKit/pull/370.patch"},"body":"Fixed layout problem on iPad with iOS 9. (Tested in simulator)\r\n\r\nChanges:\r\n- Determine screen type from two dimensions: `vertical` and `horizontal`  \r\nRenamed `ORKGetScreenTypeForWindow` to `ORKGetVerticalScreenTypeForWindow`\r\nAnd introduced `ORKGetHorizontalScreenTypeForWindow`\r\n\r\n       Use horizontal screen type to determine a few metrics:\r\n       ` ORKScreenMetricContinueButtonWidth`\r\n       `ORKScreenMetricHeadlineSideMargin`\r\n        `ORKScreenMetricLearnMoreButtonSideMargin`\r\n        ~~`ORKScreenMetricTopToIllustration`~~\r\n\r\n\r\n- Update `layoutMargin` in `ORKVerticalContainerView`'s `updateConstraintConstants`\r\n"},"comment":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/comments/134772132","html_url":"https://github.com/ResearchKit/ResearchKit/pull/370#issuecomment-134772132","issue_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/370","id":134772132,"user":{"login":"YuanZhu-apple","id":11466704,"avatar_url":"https://avatars.githubusercontent.com/u/11466704?v=3","gravatar_id":"","url":"https://api.github.com/users/YuanZhu-apple","html_url":"https://github.com/YuanZhu-apple","followers_url":"https://api.github.com/users/YuanZhu-apple/followers","following_url":"https://api.github.com/users/YuanZhu-apple/following{/other_user}","gists_url":"https://api.github.com/users/YuanZhu-apple/gists{/gist_id}","starred_url":"https://api.github.com/users/YuanZhu-apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuanZhu-apple/subscriptions","organizations_url":"https://api.github.com/users/YuanZhu-apple/orgs","repos_url":"https://api.github.com/users/YuanZhu-apple/repos","events_url":"https://api.github.com/users/YuanZhu-apple/events{/privacy}","received_events_url":"https://api.github.com/users/YuanZhu-apple/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T23:47:00Z","updated_at":"2015-08-25T23:47:00Z","body":"@rsanchezsaez Good catch, it should fall back to iPad-Margin if `view.bounds == CGRectZero`."}}