{"action":"opened","issue":{"url":"https://api.github.com/repos/devxoul/JLToast/issues/51","labels_url":"https://api.github.com/repos/devxoul/JLToast/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/devxoul/JLToast/issues/51/comments","events_url":"https://api.github.com/repos/devxoul/JLToast/issues/51/events","html_url":"https://github.com/devxoul/JLToast/issues/51","id":118271886,"number":51,"title":"Migrating from iOS 8 to iOS9 and swift makes toasts disappear right after shown","user":{"login":"ArtworkAD","id":524580,"avatar_url":"https://avatars.githubusercontent.com/u/524580?v=3","gravatar_id":"","url":"https://api.github.com/users/ArtworkAD","html_url":"https://github.com/ArtworkAD","followers_url":"https://api.github.com/users/ArtworkAD/followers","following_url":"https://api.github.com/users/ArtworkAD/following{/other_user}","gists_url":"https://api.github.com/users/ArtworkAD/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtworkAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtworkAD/subscriptions","organizations_url":"https://api.github.com/users/ArtworkAD/orgs","repos_url":"https://api.github.com/users/ArtworkAD/repos","events_url":"https://api.github.com/users/ArtworkAD/events{/privacy}","received_events_url":"https://api.github.com/users/ArtworkAD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-22T16:09:02Z","updated_at":"2015-11-22T16:09:02Z","closed_at":null,"body":"I don't know why this happens because I did not touch any code. I just migrated from JLToast 1.2.5 to 1.3.2. What I see is that when the toast is shown it disappears instantly. It happens for me in this code:\r\n```\r\nfunc messageComposeViewController(controller: MFMessageComposeViewController, didFinishWithResult result: MessageComposeResult) {   \r\n   if result.rawValue == MessageComposeResultSent.rawValue {\r\n       doSomething()\r\n   } else {\r\n       let toast = JLToast.makeText(\"I am Bob.\")\r\n       toast.view.backgroundView.backgroundColor = UIColor(netHex: 0xE50101)\r\n       toast.duration = JLToastDelay.LongDelay\r\n       toast.view.backgroundView.alpha = 0.9\r\n       toast.show()\r\n   }\r\n}\r\n```\r\nThe above method is a callback method of ```MFMessageComposeViewControllerDelegate```. The toast is displayed for a second and removed instantly without animation. Do you have a clue why this happens?"}}