Toast-Swift
Toast-Swift copied to clipboard
Toast view using swift.
Hi, I want to concatenate two messages as toast activity, but it doesn't work. Here is mi code: ``` func testToast(){ self.view.makeToastActivity(message: "1") DispatchQueue.global().async { sleep(1) DispatchQueue.main.async { self.view.hideToastActivity() self.view.setNeedsLayout()...
I insert emoji in a string but shows blank toast...
how can I make to center the message vertically in the toast? Thanks!
Myself and some others had sent in some PRs that were accepted but there hasn't been another publish of the cocoapod. Can you bump the version and republish so that...
Is there any way to set theme color with custom UIColor. I tried with UIColor(red: 236, green: 9, blue: 40, alpha: 1), but it seems there is a problem with...
Ambiguous reference to member 'makeToast(message:)' this all candidates: func makeToast(message msg: String) { makeToast(message: msg, duration: HRToastDefaultDuration, position: HRToastPositionDefault as AnyObject) } func makeToast(message msg: String, duration: Double, position: AnyObject)...
I found a crash when you click on the toast quickly after it appears. To fix it I changed this ``` let timer = objc_getAssociatedObject(self, &HRToastTimer) as! NSTimer { ```...
if the keyboard is visible, the toast is behind it and it isnt seen, is there a way to fix this or move it with the keyboard on show? Thanks!