{"action":"created","issue":{"url":"https://api.github.com/repos/zhangao0086/DKImagePickerController/issues/113","repository_url":"https://api.github.com/repos/zhangao0086/DKImagePickerController","labels_url":"https://api.github.com/repos/zhangao0086/DKImagePickerController/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/zhangao0086/DKImagePickerController/issues/113/comments","events_url":"https://api.github.com/repos/zhangao0086/DKImagePickerController/issues/113/events","html_url":"https://github.com/zhangao0086/DKImagePickerController/pull/113","id":150938558,"number":113,"title":"Behavior when you click on the image already has exceeded the maximum…","user":{"login":"ParkGwangBeom","id":6308328,"avatar_url":"https://avatars.githubusercontent.com/u/6308328?v=3","gravatar_id":"","url":"https://api.github.com/users/ParkGwangBeom","html_url":"https://github.com/ParkGwangBeom","followers_url":"https://api.github.com/users/ParkGwangBeom/followers","following_url":"https://api.github.com/users/ParkGwangBeom/following{/other_user}","gists_url":"https://api.github.com/users/ParkGwangBeom/gists{/gist_id}","starred_url":"https://api.github.com/users/ParkGwangBeom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParkGwangBeom/subscriptions","organizations_url":"https://api.github.com/users/ParkGwangBeom/orgs","repos_url":"https://api.github.com/users/ParkGwangBeom/repos","events_url":"https://api.github.com/users/ParkGwangBeom/events{/privacy}","received_events_url":"https://api.github.com/users/ParkGwangBeom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-04-25T17:57:42Z","updated_at":"2016-07-08T04:15:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zhangao0086/DKImagePickerController/pulls/113","html_url":"https://github.com/zhangao0086/DKImagePickerController/pull/113","diff_url":"https://github.com/zhangao0086/DKImagePickerController/pull/113.diff","patch_url":"https://github.com/zhangao0086/DKImagePickerController/pull/113.patch"},"body":"… limit #112"},"comment":{"url":"https://api.github.com/repos/zhangao0086/DKImagePickerController/issues/comments/231271207","html_url":"https://github.com/zhangao0086/DKImagePickerController/pull/113#issuecomment-231271207","issue_url":"https://api.github.com/repos/zhangao0086/DKImagePickerController/issues/113","id":231271207,"user":{"login":"zhangao0086","id":7742344,"avatar_url":"https://avatars.githubusercontent.com/u/7742344?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangao0086","html_url":"https://github.com/zhangao0086","followers_url":"https://api.github.com/users/zhangao0086/followers","following_url":"https://api.github.com/users/zhangao0086/following{/other_user}","gists_url":"https://api.github.com/users/zhangao0086/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangao0086/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangao0086/subscriptions","organizations_url":"https://api.github.com/users/zhangao0086/orgs","repos_url":"https://api.github.com/users/zhangao0086/repos","events_url":"https://api.github.com/users/zhangao0086/events{/privacy}","received_events_url":"https://api.github.com/users/zhangao0086/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T04:15:13Z","updated_at":"2016-07-08T04:15:13Z","body":"@seifeet  I think I understand your question now. If a camera is not available, don't pops-up \"Max photos limit reached\".\r\n```swift\r\ncell.didCameraButtonClicked = { [unowned self] in\r\n\tif UIImagePickerController.isSourceTypeAvailable(.Camera) {\r\n\t\tif self.imagePickerController.selectedAssets.count < self.imagePickerController.maxSelectableCount  {\r\n\t\t\tself.imagePickerController.presentCamera()\r\n\t\t} else {\r\n\t\t\tself.imagePickerController.UIDelegate.imagePickerControllerDidReachMaxLimit(self.imagePickerController)\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\nWhat do you think?"}}
{"actor":{"display_login":"zhangao0086"}}