{"action":"closed","issue":{"url":"https://api.github.com/repos/zendesk/zendesk_sdk_chat_ios/issues/19","labels_url":"https://api.github.com/repos/zendesk/zendesk_sdk_chat_ios/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/zendesk/zendesk_sdk_chat_ios/issues/19/comments","events_url":"https://api.github.com/repos/zendesk/zendesk_sdk_chat_ios/issues/19/events","html_url":"https://github.com/zendesk/zendesk_sdk_chat_ios/issues/19","id":110734615,"number":19,"title":"Attachment action sheet hidden behind keyboard in iOS 9","user":{"login":"dangochi","id":1784093,"avatar_url":"https://avatars.githubusercontent.com/u/1784093?v=3","gravatar_id":"","url":"https://api.github.com/users/dangochi","html_url":"https://github.com/dangochi","followers_url":"https://api.github.com/users/dangochi/followers","following_url":"https://api.github.com/users/dangochi/following{/other_user}","gists_url":"https://api.github.com/users/dangochi/gists{/gist_id}","starred_url":"https://api.github.com/users/dangochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangochi/subscriptions","organizations_url":"https://api.github.com/users/dangochi/orgs","repos_url":"https://api.github.com/users/dangochi/repos","events_url":"https://api.github.com/users/dangochi/events{/privacy}","received_events_url":"https://api.github.com/users/dangochi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zendesk/zendesk_sdk_chat_ios/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-09T20:57:17Z","updated_at":"2015-12-18T11:37:25Z","closed_at":"2015-12-18T11:37:24Z","body":"If the keyboard is shown in the chat view controller and you tap the photo attachment button, the action sheet for the photo options is hidden behind the keyboard. If the keyboard is hidden/dismissed and you tap the photo button, you can see the action sheet just fine.\r\n\r\nThis seems to work on iOS 8, so I'm guessing this is another thing Apple broke with 9. I'm curious if dismissing the keyboard before presenting the action sheet would be a viable solution, though?\r\n\r\nBelow are some screenshots from the sample app, one with the keyboard hidden and another with the keyboard shown.\r\n\r\n![action sheet hidden](https://cloud.githubusercontent.com/assets/1784093/10405408/89bc2c46-6e8d-11e5-86b9-e34cd84bf8ea.png)\r\n![keyboard dismissed](https://cloud.githubusercontent.com/assets/1784093/10405407/89bc3c9a-6e8d-11e5-9886-30f6e52131e4.png)\r\n"}}