{"action":"created","issue":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4381","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4381/labels{/name}","comments_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4381/comments","events_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4381/events","html_url":"https://github.com/openframeworks/openFrameworks/pull/4381","id":107306446,"number":4381,"title":"Fix for iOS rotation issue + ARC example","user":{"login":"borg","id":203895,"avatar_url":"https://avatars.githubusercontent.com/u/203895?v=3","gravatar_id":"","url":"https://api.github.com/users/borg","html_url":"https://github.com/borg","followers_url":"https://api.github.com/users/borg/followers","following_url":"https://api.github.com/users/borg/following{/other_user}","gists_url":"https://api.github.com/users/borg/gists{/gist_id}","starred_url":"https://api.github.com/users/borg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borg/subscriptions","organizations_url":"https://api.github.com/users/borg/orgs","repos_url":"https://api.github.com/users/borg/repos","events_url":"https://api.github.com/users/borg/events{/privacy}","received_events_url":"https://api.github.com/users/borg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/milestones/8","html_url":"https://github.com/openframeworks/openFrameworks/milestones/0.9.0","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/milestones/8/labels","id":88731,"number":8,"title":"0.9.0","description":"Originally aimed for release on November 10th with initial emscripten support, Apothecary compiled libs and C++11/64-bit support on OSX. Pushed back to January 12, multiwindow support was added. Deadline removed on January 4. Deadline added again on February 8 as May 18.","creator":{"login":"bilderbuchi","id":327442,"avatar_url":"https://avatars.githubusercontent.com/u/327442?v=3","gravatar_id":"","url":"https://api.github.com/users/bilderbuchi","html_url":"https://github.com/bilderbuchi","followers_url":"https://api.github.com/users/bilderbuchi/followers","following_url":"https://api.github.com/users/bilderbuchi/following{/other_user}","gists_url":"https://api.github.com/users/bilderbuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/bilderbuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilderbuchi/subscriptions","organizations_url":"https://api.github.com/users/bilderbuchi/orgs","repos_url":"https://api.github.com/users/bilderbuchi/repos","events_url":"https://api.github.com/users/bilderbuchi/events{/privacy}","received_events_url":"https://api.github.com/users/bilderbuchi/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":288,"state":"open","created_at":"2012-02-25T01:34:28Z","updated_at":"2015-09-24T08:40:41Z","due_on":"2015-05-18T04:00:00Z","closed_at":null},"comments":6,"created_at":"2015-09-19T03:03:22Z","updated_at":"2015-09-30T10:34:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/pulls/4381","html_url":"https://github.com/openframeworks/openFrameworks/pull/4381","diff_url":"https://github.com/openframeworks/openFrameworks/pull/4381.diff","patch_url":"https://github.com/openframeworks/openFrameworks/pull/4381.patch"},"body":"Ping: @julapy @danoli3 \r\n+Added glView frame resize support in ofxiOSViewController in viewWillTransitionToSize\r\n+ofGetWidth()/ofGetHeight() now return value according to orientation\r\n+Added ARC example with native view and resize on rotation\r\n\r\nNote that settings.enableHardwareOrientation seems to only affect whether ofSetOrientation takes effect, not whether the view actually rotates according to device (which it does anyhow, unless set in root.plist). It appears to me ofSetOrientation is pretty useless and should be deprecated. \r\n\r\nAlso, eg. ofGetWidth() will return 2048 as opposed to 1024 by [[UIScreen mainScreen] bounds].size.width). This makes sense but can be confusing when mixing with native methods. Perhaps some util functions eg. ofGetNativeWidth() would be useful?\r\n\r\n#1477"},"comment":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/comments/144350068","html_url":"https://github.com/openframeworks/openFrameworks/pull/4381#issuecomment-144350068","issue_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4381","id":144350068,"user":{"login":"ofTheo","id":144000,"avatar_url":"https://avatars.githubusercontent.com/u/144000?v=3","gravatar_id":"","url":"https://api.github.com/users/ofTheo","html_url":"https://github.com/ofTheo","followers_url":"https://api.github.com/users/ofTheo/followers","following_url":"https://api.github.com/users/ofTheo/following{/other_user}","gists_url":"https://api.github.com/users/ofTheo/gists{/gist_id}","starred_url":"https://api.github.com/users/ofTheo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofTheo/subscriptions","organizations_url":"https://api.github.com/users/ofTheo/orgs","repos_url":"https://api.github.com/users/ofTheo/repos","events_url":"https://api.github.com/users/ofTheo/events{/privacy}","received_events_url":"https://api.github.com/users/ofTheo/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T10:34:48Z","updated_at":"2015-09-30T10:34:48Z","body":"@julapy no worries! \r\nmaybe merge it in and we can test the examples? might be easier to evaluate that way?"}}