{"action":"opened","issue":{"url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/422","labels_url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/422/comments","events_url":"https://api.github.com/repos/mwaterfall/MWPhotoBrowser/issues/422/events","html_url":"https://github.com/mwaterfall/MWPhotoBrowser/issues/422","id":100802104,"number":422,"title":"Customize action button, not only press event.","user":{"login":"f33chobits","id":5186464,"avatar_url":"https://avatars.githubusercontent.com/u/5186464?v=3","gravatar_id":"","url":"https://api.github.com/users/f33chobits","html_url":"https://github.com/f33chobits","followers_url":"https://api.github.com/users/f33chobits/followers","following_url":"https://api.github.com/users/f33chobits/following{/other_user}","gists_url":"https://api.github.com/users/f33chobits/gists{/gist_id}","starred_url":"https://api.github.com/users/f33chobits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f33chobits/subscriptions","organizations_url":"https://api.github.com/users/f33chobits/orgs","repos_url":"https://api.github.com/users/f33chobits/repos","events_url":"https://api.github.com/users/f33chobits/events{/privacy}","received_events_url":"https://api.github.com/users/f33chobits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-13T15:41:02Z","updated_at":"2015-08-13T15:41:02Z","closed_at":null,"body":"Hi @mwaterfall \r\n\r\nCan we add this to MWPhotoBrowserDelegate\r\n\r\n```objective-c\r\n- (UIBarButtonSystemItem)photoBrowser:(MWPhotoBrowser *)photoBrowser actionButtonSystemItemForPhotoAtIndex:(NSUInteger)index;\r\n```\r\n\r\nSo we can do this:\r\n```objective-c\r\n- (UIBarButtonSystemItem)photoBrowser:(MWPhotoBrowser *)photoBrowser actionButtonSystemItemForPhotoAtIndex:(NSUInteger)index\r\n{\r\n    return UIBarButtonSystemItemTrash;\r\n}\r\n```\r\n\r\nSo we can do this:\r\n\r\n```objective-c\r\n- (void)photoBrowser:(MWPhotoBrowser *)photoBrowser actionButtonPressedForPhotoAtIndex:(NSUInteger)index\r\n{\r\n    // Delete photos\r\n}\r\n```"}}