{"action":"created","issue":{"url":"https://api.github.com/repos/Orderella/PopupDialog/issues/231","repository_url":"https://api.github.com/repos/Orderella/PopupDialog","labels_url":"https://api.github.com/repos/Orderella/PopupDialog/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/Orderella/PopupDialog/issues/231/comments","events_url":"https://api.github.com/repos/Orderella/PopupDialog/issues/231/events","html_url":"https://github.com/Orderella/PopupDialog/issues/231","id":321590806,"node_id":"MDU6SXNzdWUzMjE1OTA4MDY=","number":231,"title":"Get notified of dismissed popup in view controller","user":{"login":"zacthespack","id":1653539,"node_id":"MDQ6VXNlcjE2NTM1Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1653539?v=4","gravatar_id":"","url":"https://api.github.com/users/zacthespack","html_url":"https://github.com/zacthespack","followers_url":"https://api.github.com/users/zacthespack/followers","following_url":"https://api.github.com/users/zacthespack/following{/other_user}","gists_url":"https://api.github.com/users/zacthespack/gists{/gist_id}","starred_url":"https://api.github.com/users/zacthespack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacthespack/subscriptions","organizations_url":"https://api.github.com/users/zacthespack/orgs","repos_url":"https://api.github.com/users/zacthespack/repos","events_url":"https://api.github.com/users/zacthespack/events{/privacy}","received_events_url":"https://api.github.com/users/zacthespack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-09T14:20:59Z","updated_at":"2018-06-08T15:29:12Z","closed_at":null,"author_association":"NONE","body":"My PopupDialog has a custom view controller and is created following the example project provided like:\r\n\r\n```\r\nlet ratingVC = PopupViewController(nibName: \"PopupViewController\", bundle: nil)\r\n        ratingVC.apiKey = self.apiKey\r\n        ratingVC.accountNumberString = accountNumberString        \r\n\r\n        let popup = PopupDialog(viewController: ratingVC, buttonAlignment: .horizontal, transitionStyle: .bounceDown, gestureDismissal: true)\r\n        ratingVC.presentedPopup = popup\r\nself.present(popup, animated: true, completion: nil)\r\n```\r\n\r\nThis works fine however within the viewController in certain conditions the popup will get dismissed with:\r\n\r\n`self.dismiss(animated: true)`\r\n\r\nHow do I know in the launching view controller when the popup dialog has been dismissed in this way?"},"comment":{"url":"https://api.github.com/repos/Orderella/PopupDialog/issues/comments/395797389","html_url":"https://github.com/Orderella/PopupDialog/issues/231#issuecomment-395797389","issue_url":"https://api.github.com/repos/Orderella/PopupDialog/issues/231","id":395797389,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTc5NzM4OQ==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-08T15:29:12Z","updated_at":"2018-06-08T15:29:12Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}