{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls/11","id":49462515,"html_url":"https://github.com/RolandasRazma/RRFPSBar/pull/11","diff_url":"https://github.com/RolandasRazma/RRFPSBar/pull/11.diff","patch_url":"https://github.com/RolandasRazma/RRFPSBar/pull/11.patch","issue_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/issues/11","number":11,"state":"closed","locked":false,"title":"iOS 9 Startup crash fix. It requires rootViewController for any UIWindow","user":{"login":"bErKut","id":812403,"avatar_url":"https://avatars.githubusercontent.com/u/812403?v=3","gravatar_id":"","url":"https://api.github.com/users/bErKut","html_url":"https://github.com/bErKut","followers_url":"https://api.github.com/users/bErKut/followers","following_url":"https://api.github.com/users/bErKut/following{/other_user}","gists_url":"https://api.github.com/users/bErKut/gists{/gist_id}","starred_url":"https://api.github.com/users/bErKut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bErKut/subscriptions","organizations_url":"https://api.github.com/users/bErKut/orgs","repos_url":"https://api.github.com/users/bErKut/repos","events_url":"https://api.github.com/users/bErKut/events{/privacy}","received_events_url":"https://api.github.com/users/bErKut/received_events","type":"User","site_admin":false},"body":"Due to this issue https://github.com/RolandasRazma/RRFPSBar/issues/10 using of  RRFPSBar led to crash on devices with iOS 9. This OS version requires rootViewController for any UIWindow. This code fixes this issue ","created_at":"2015-11-02T17:46:00Z","updated_at":"2015-11-02T22:06:12Z","closed_at":"2015-11-02T22:06:12Z","merged_at":"2015-11-02T22:06:12Z","merge_commit_sha":"ddd2869166f68bdf1da78bf23653bc2eff87d757","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls/11/commits","review_comments_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls/11/comments","review_comment_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/issues/11/comments","statuses_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/statuses/4bd43cc9f2d82b0bd7bf5c3952315683c5f53dad","head":{"label":"bErKut:iOS9_crash_on_startup_fix","ref":"iOS9_crash_on_startup_fix","sha":"4bd43cc9f2d82b0bd7bf5c3952315683c5f53dad","user":{"login":"bErKut","id":812403,"avatar_url":"https://avatars.githubusercontent.com/u/812403?v=3","gravatar_id":"","url":"https://api.github.com/users/bErKut","html_url":"https://github.com/bErKut","followers_url":"https://api.github.com/users/bErKut/followers","following_url":"https://api.github.com/users/bErKut/following{/other_user}","gists_url":"https://api.github.com/users/bErKut/gists{/gist_id}","starred_url":"https://api.github.com/users/bErKut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bErKut/subscriptions","organizations_url":"https://api.github.com/users/bErKut/orgs","repos_url":"https://api.github.com/users/bErKut/repos","events_url":"https://api.github.com/users/bErKut/events{/privacy}","received_events_url":"https://api.github.com/users/bErKut/received_events","type":"User","site_admin":false},"repo":{"id":45410382,"name":"RRFPSBar","full_name":"bErKut/RRFPSBar","owner":{"login":"bErKut","id":812403,"avatar_url":"https://avatars.githubusercontent.com/u/812403?v=3","gravatar_id":"","url":"https://api.github.com/users/bErKut","html_url":"https://github.com/bErKut","followers_url":"https://api.github.com/users/bErKut/followers","following_url":"https://api.github.com/users/bErKut/following{/other_user}","gists_url":"https://api.github.com/users/bErKut/gists{/gist_id}","starred_url":"https://api.github.com/users/bErKut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bErKut/subscriptions","organizations_url":"https://api.github.com/users/bErKut/orgs","repos_url":"https://api.github.com/users/bErKut/repos","events_url":"https://api.github.com/users/bErKut/events{/privacy}","received_events_url":"https://api.github.com/users/bErKut/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bErKut/RRFPSBar","description":"Show FPS Bar instead of StatusBar on iOS","fork":true,"url":"https://api.github.com/repos/bErKut/RRFPSBar","forks_url":"https://api.github.com/repos/bErKut/RRFPSBar/forks","keys_url":"https://api.github.com/repos/bErKut/RRFPSBar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bErKut/RRFPSBar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bErKut/RRFPSBar/teams","hooks_url":"https://api.github.com/repos/bErKut/RRFPSBar/hooks","issue_events_url":"https://api.github.com/repos/bErKut/RRFPSBar/issues/events{/number}","events_url":"https://api.github.com/repos/bErKut/RRFPSBar/events","assignees_url":"https://api.github.com/repos/bErKut/RRFPSBar/assignees{/user}","branches_url":"https://api.github.com/repos/bErKut/RRFPSBar/branches{/branch}","tags_url":"https://api.github.com/repos/bErKut/RRFPSBar/tags","blobs_url":"https://api.github.com/repos/bErKut/RRFPSBar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bErKut/RRFPSBar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bErKut/RRFPSBar/git/refs{/sha}","trees_url":"https://api.github.com/repos/bErKut/RRFPSBar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bErKut/RRFPSBar/statuses/{sha}","languages_url":"https://api.github.com/repos/bErKut/RRFPSBar/languages","stargazers_url":"https://api.github.com/repos/bErKut/RRFPSBar/stargazers","contributors_url":"https://api.github.com/repos/bErKut/RRFPSBar/contributors","subscribers_url":"https://api.github.com/repos/bErKut/RRFPSBar/subscribers","subscription_url":"https://api.github.com/repos/bErKut/RRFPSBar/subscription","commits_url":"https://api.github.com/repos/bErKut/RRFPSBar/commits{/sha}","git_commits_url":"https://api.github.com/repos/bErKut/RRFPSBar/git/commits{/sha}","comments_url":"https://api.github.com/repos/bErKut/RRFPSBar/comments{/number}","issue_comment_url":"https://api.github.com/repos/bErKut/RRFPSBar/issues/comments{/number}","contents_url":"https://api.github.com/repos/bErKut/RRFPSBar/contents/{+path}","compare_url":"https://api.github.com/repos/bErKut/RRFPSBar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bErKut/RRFPSBar/merges","archive_url":"https://api.github.com/repos/bErKut/RRFPSBar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bErKut/RRFPSBar/downloads","issues_url":"https://api.github.com/repos/bErKut/RRFPSBar/issues{/number}","pulls_url":"https://api.github.com/repos/bErKut/RRFPSBar/pulls{/number}","milestones_url":"https://api.github.com/repos/bErKut/RRFPSBar/milestones{/number}","notifications_url":"https://api.github.com/repos/bErKut/RRFPSBar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bErKut/RRFPSBar/labels{/name}","releases_url":"https://api.github.com/repos/bErKut/RRFPSBar/releases{/id}","created_at":"2015-11-02T17:30:30Z","updated_at":"2015-11-02T17:30:30Z","pushed_at":"2015-11-02T17:37:43Z","git_url":"git://github.com/bErKut/RRFPSBar.git","ssh_url":"git@github.com:bErKut/RRFPSBar.git","clone_url":"https://github.com/bErKut/RRFPSBar.git","svn_url":"https://github.com/bErKut/RRFPSBar","homepage":null,"size":98,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RolandasRazma:master","ref":"master","sha":"63e16e1061374f73271c1b4d3ee3dd20b6d6d917","user":{"login":"RolandasRazma","id":1027187,"avatar_url":"https://avatars.githubusercontent.com/u/1027187?v=3","gravatar_id":"","url":"https://api.github.com/users/RolandasRazma","html_url":"https://github.com/RolandasRazma","followers_url":"https://api.github.com/users/RolandasRazma/followers","following_url":"https://api.github.com/users/RolandasRazma/following{/other_user}","gists_url":"https://api.github.com/users/RolandasRazma/gists{/gist_id}","starred_url":"https://api.github.com/users/RolandasRazma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RolandasRazma/subscriptions","organizations_url":"https://api.github.com/users/RolandasRazma/orgs","repos_url":"https://api.github.com/users/RolandasRazma/repos","events_url":"https://api.github.com/users/RolandasRazma/events{/privacy}","received_events_url":"https://api.github.com/users/RolandasRazma/received_events","type":"User","site_admin":false},"repo":{"id":8636213,"name":"RRFPSBar","full_name":"RolandasRazma/RRFPSBar","owner":{"login":"RolandasRazma","id":1027187,"avatar_url":"https://avatars.githubusercontent.com/u/1027187?v=3","gravatar_id":"","url":"https://api.github.com/users/RolandasRazma","html_url":"https://github.com/RolandasRazma","followers_url":"https://api.github.com/users/RolandasRazma/followers","following_url":"https://api.github.com/users/RolandasRazma/following{/other_user}","gists_url":"https://api.github.com/users/RolandasRazma/gists{/gist_id}","starred_url":"https://api.github.com/users/RolandasRazma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RolandasRazma/subscriptions","organizations_url":"https://api.github.com/users/RolandasRazma/orgs","repos_url":"https://api.github.com/users/RolandasRazma/repos","events_url":"https://api.github.com/users/RolandasRazma/events{/privacy}","received_events_url":"https://api.github.com/users/RolandasRazma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RolandasRazma/RRFPSBar","description":"Show FPS Bar instead of StatusBar on iOS","fork":false,"url":"https://api.github.com/repos/RolandasRazma/RRFPSBar","forks_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/forks","keys_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/teams","hooks_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/hooks","issue_events_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/issues/events{/number}","events_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/events","assignees_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/assignees{/user}","branches_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/branches{/branch}","tags_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/tags","blobs_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/git/refs{/sha}","trees_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/statuses/{sha}","languages_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/languages","stargazers_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/stargazers","contributors_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/contributors","subscribers_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/subscribers","subscription_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/subscription","commits_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/commits{/sha}","git_commits_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/git/commits{/sha}","comments_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/comments{/number}","issue_comment_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/issues/comments{/number}","contents_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/contents/{+path}","compare_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/merges","archive_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/downloads","issues_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/issues{/number}","pulls_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls{/number}","milestones_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/milestones{/number}","notifications_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/labels{/name}","releases_url":"https://api.github.com/repos/RolandasRazma/RRFPSBar/releases{/id}","created_at":"2013-03-07T20:47:58Z","updated_at":"2015-11-02T15:56:36Z","pushed_at":"2015-11-02T22:06:12Z","git_url":"git://github.com/RolandasRazma/RRFPSBar.git","ssh_url":"git@github.com:RolandasRazma/RRFPSBar.git","clone_url":"https://github.com/RolandasRazma/RRFPSBar.git","svn_url":"https://github.com/RolandasRazma/RRFPSBar","homepage":null,"size":253,"stargazers_count":433,"watchers_count":433,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":2,"forks":31,"open_issues":2,"watchers":433,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls/11"},"html":{"href":"https://github.com/RolandasRazma/RRFPSBar/pull/11"},"issue":{"href":"https://api.github.com/repos/RolandasRazma/RRFPSBar/issues/11"},"comments":{"href":"https://api.github.com/repos/RolandasRazma/RRFPSBar/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RolandasRazma/RRFPSBar/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/RolandasRazma/RRFPSBar/statuses/4bd43cc9f2d82b0bd7bf5c3952315683c5f53dad"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"RolandasRazma","id":1027187,"avatar_url":"https://avatars.githubusercontent.com/u/1027187?v=3","gravatar_id":"","url":"https://api.github.com/users/RolandasRazma","html_url":"https://github.com/RolandasRazma","followers_url":"https://api.github.com/users/RolandasRazma/followers","following_url":"https://api.github.com/users/RolandasRazma/following{/other_user}","gists_url":"https://api.github.com/users/RolandasRazma/gists{/gist_id}","starred_url":"https://api.github.com/users/RolandasRazma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RolandasRazma/subscriptions","organizations_url":"https://api.github.com/users/RolandasRazma/orgs","repos_url":"https://api.github.com/users/RolandasRazma/repos","events_url":"https://api.github.com/users/RolandasRazma/events{/privacy}","received_events_url":"https://api.github.com/users/RolandasRazma/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}