{"action":"created","issue":{"url":"https://api.github.com/repos/sammcewan/WYPopoverController/issues/56","labels_url":"https://api.github.com/repos/sammcewan/WYPopoverController/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/sammcewan/WYPopoverController/issues/56/comments","events_url":"https://api.github.com/repos/sammcewan/WYPopoverController/issues/56/events","html_url":"https://github.com/sammcewan/WYPopoverController/pull/56","id":66977703,"number":56,"title":"Fixed iOS 8 issue with arrow direction","user":{"login":"pivotal-ryan-mcleod","id":3782005,"avatar_url":"https://avatars.githubusercontent.com/u/3782005?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal-ryan-mcleod","html_url":"https://github.com/pivotal-ryan-mcleod","followers_url":"https://api.github.com/users/pivotal-ryan-mcleod/followers","following_url":"https://api.github.com/users/pivotal-ryan-mcleod/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-ryan-mcleod/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-ryan-mcleod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-ryan-mcleod/subscriptions","organizations_url":"https://api.github.com/users/pivotal-ryan-mcleod/orgs","repos_url":"https://api.github.com/users/pivotal-ryan-mcleod/repos","events_url":"https://api.github.com/users/pivotal-ryan-mcleod/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-ryan-mcleod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-07T19:54:38Z","updated_at":"2015-04-08T17:00:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sammcewan/WYPopoverController/pulls/56","html_url":"https://github.com/sammcewan/WYPopoverController/pull/56","diff_url":"https://github.com/sammcewan/WYPopoverController/pull/56.diff","patch_url":"https://github.com/sammcewan/WYPopoverController/pull/56.patch"},"body":"Currently, the calculation for the available view size for the popover compensates for orientation in a way that is unnecessary on iOS 8, since the view has already been rotated according to device orientation.\r\n\r\nThis fixes that."},"comment":{"url":"https://api.github.com/repos/sammcewan/WYPopoverController/issues/comments/90975177","html_url":"https://github.com/sammcewan/WYPopoverController/pull/56#issuecomment-90975177","issue_url":"https://api.github.com/repos/sammcewan/WYPopoverController/issues/56","id":90975177,"user":{"login":"pivotal-ryan-mcleod","id":3782005,"avatar_url":"https://avatars.githubusercontent.com/u/3782005?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal-ryan-mcleod","html_url":"https://github.com/pivotal-ryan-mcleod","followers_url":"https://api.github.com/users/pivotal-ryan-mcleod/followers","following_url":"https://api.github.com/users/pivotal-ryan-mcleod/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-ryan-mcleod/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-ryan-mcleod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-ryan-mcleod/subscriptions","organizations_url":"https://api.github.com/users/pivotal-ryan-mcleod/orgs","repos_url":"https://api.github.com/users/pivotal-ryan-mcleod/repos","events_url":"https://api.github.com/users/pivotal-ryan-mcleod/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-ryan-mcleod/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:00:23Z","updated_at":"2015-04-08T17:00:23Z","body":"For what it's worth, the app that we're developing also supports iOS 7 and this calculation appears to function correctly for us on both 7 and 8. It should be doing the exact same thing as before on iOS 7, since the _ignoreOrientation flag is only YES on iOS 8.\r\n\r\nWithout this fix, it's a little buggy on iOS 8 in that it can choose arrow directions that force the popover to be compressed beyond the preferredContentSize, even if there's plenty of room in another direction."}}