{"action":"created","issue":{"url":"https://api.github.com/repos/mariohahn/MHVideoPhotoGallery/issues/17","labels_url":"https://api.github.com/repos/mariohahn/MHVideoPhotoGallery/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/mariohahn/MHVideoPhotoGallery/issues/17/comments","events_url":"https://api.github.com/repos/mariohahn/MHVideoPhotoGallery/issues/17/events","html_url":"https://github.com/mariohahn/MHVideoPhotoGallery/issues/17","id":30741362,"number":17,"title":"Status bar","user":{"login":"bonebox","id":1120504,"avatar_url":"https://avatars.githubusercontent.com/u/1120504?v=3","gravatar_id":"","url":"https://api.github.com/users/bonebox","html_url":"https://github.com/bonebox","followers_url":"https://api.github.com/users/bonebox/followers","following_url":"https://api.github.com/users/bonebox/following{/other_user}","gists_url":"https://api.github.com/users/bonebox/gists{/gist_id}","starred_url":"https://api.github.com/users/bonebox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonebox/subscriptions","organizations_url":"https://api.github.com/users/bonebox/orgs","repos_url":"https://api.github.com/users/bonebox/repos","events_url":"https://api.github.com/users/bonebox/events{/privacy}","received_events_url":"https://api.github.com/users/bonebox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-04-03T02:01:51Z","updated_at":"2015-05-21T17:17:12Z","closed_at":null,"body":"MHVideoPhotoGallery causes issue with the status bar of the presenting controller.  The two main issues I'm having:\r\n\r\n1. It doesn't take into account if the status bar is already hidden.  If the status bar is hidden in the presenting controller, MHVideoPhotoGallery makes it appear again (with the side effect of overlapping the navigation bar on the first image).  \r\n2. Because of 1., when MHVideoPhotoGallery is dismissed, the status bar is now visible.  The only way to hide it is to first set it to visible, then to hidden again in the dismiss block, but this causes an unwanted visible effect.  \r\n3. If the original status bar color was light, the color gets set to default.  Similar to 2, setting it back in the dismiss block causes an unwanted visible effect.\r\n\r\nI think if the status bar is already hidden, the MHVideoPhotoGallery should also keep it hidden.  Also, it should either a) restore the status bar to the original state before the dismiss block is called, or provide a willDismiss callback that allows the user to set things back before MHVideoPhotoGallery is dismissed to prevent the visible effects."},"comment":{"url":"https://api.github.com/repos/mariohahn/MHVideoPhotoGallery/issues/comments/104360382","html_url":"https://github.com/mariohahn/MHVideoPhotoGallery/issues/17#issuecomment-104360382","issue_url":"https://api.github.com/repos/mariohahn/MHVideoPhotoGallery/issues/17","id":104360382,"user":{"login":"FloresRobles","id":621708,"avatar_url":"https://avatars.githubusercontent.com/u/621708?v=3","gravatar_id":"","url":"https://api.github.com/users/FloresRobles","html_url":"https://github.com/FloresRobles","followers_url":"https://api.github.com/users/FloresRobles/followers","following_url":"https://api.github.com/users/FloresRobles/following{/other_user}","gists_url":"https://api.github.com/users/FloresRobles/gists{/gist_id}","starred_url":"https://api.github.com/users/FloresRobles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FloresRobles/subscriptions","organizations_url":"https://api.github.com/users/FloresRobles/orgs","repos_url":"https://api.github.com/users/FloresRobles/repos","events_url":"https://api.github.com/users/FloresRobles/events{/privacy}","received_events_url":"https://api.github.com/users/FloresRobles/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T17:17:12Z","updated_at":"2015-05-21T17:17:12Z","body":"+1, \r\nstatus bar alpha can be also be hidden in the app if gallery appears -> nav bar is hidden with a tap -> user closes gallery (with swipe gesture)\r\n\r\nthis forces to use     MHStatusBar().alpha = 1.0 ; in return block"}}