KRProgressHUD icon indicating copy to clipboard operation
KRProgressHUD copied to clipboard

show message only once

Open MansoorJafari9 opened this issue 5 years ago • 16 comments

Hello I'm using this code KRProgressHUD.set(duration: 2).set(font: fontRegular(size: 14)).showInfo(withMessage: "Error")

but only show message once and not working again

MansoorJafari9 avatar Oct 30 '19 20:10 MansoorJafari9

@MansoorJafari9 Please use latest version.

krimpedance avatar Oct 31 '19 01:10 krimpedance

Thanks for answer I'm Using KRProgressHUD (3.4.1) Is it Ok?

MansoorJafari9 avatar Nov 10 '19 13:11 MansoorJafari9

@MansoorJafari9 Please use 3.4.4 :)

krimpedance avatar Nov 11 '19 01:11 krimpedance

CocoaPods could not find compatible versions for pod "KRProgressHUD": In Podfile: KRProgressHUD (~> 3.4.4)

MansoorJafari9 avatar Nov 11 '19 11:11 MansoorJafari9

@MansoorJafari9 Probably need to run pod repo update

krimpedance avatar Nov 12 '19 00:11 krimpedance

Thanks for your answer but only show message once and not working again

MansoorJafari9 avatar Nov 12 '19 12:11 MansoorJafari9

@MansoorJafari9 Can you show me a sample project that can reproduce the problem?

krimpedance avatar Nov 13 '19 00:11 krimpedance

I have a calendar and after click each cell for the first time working fine and show me a message but second time click freeze page for 2 seconds and not showing a message Could you give me an email to send a video about this problem?

MansoorJafari9 avatar Nov 13 '19 06:11 MansoorJafari9

@MansoorJafari9 Please send to ****

krimpedance avatar Nov 13 '19 06:11 krimpedance

sent

MansoorJafari9 avatar Nov 13 '19 09:11 MansoorJafari9

Is this problem solved?

Jiandang-Kent avatar Dec 16 '19 06:12 Jiandang-Kent

@cjd8505 The reply from @cjd8505 was lost. So I don't know if it was solved.

Do you have the same problem?

krimpedance avatar Dec 16 '19 07:12 krimpedance

@cjd8505 The reply from @cjd8505 was lost. So I don't know if it was solved.

Do you have the same problem?

Yes. I used the newest version.

Jiandang-Kent avatar Dec 16 '19 08:12 Jiandang-Kent

@cjd8505 Is a demo project same? (under DEMO/ dir)

krimpedance avatar Dec 16 '19 09:12 krimpedance

@cjd8505 Is a demo project same? (under DEMO/ dir)

My problem is solved. I wrongly used 'KRProgressHUD.dismiss(completion)' without wrapping by 'DispatchQueue.main.asyncAfter'.

Jiandang-Kent avatar Dec 29 '19 02:12 Jiandang-Kent

I have the same problem :(

KRProgressHUD.show(withMessage: "Downloading...")        
KRProgressHUD.showSuccess(withMessage: "Success!")

is working only once...

EDIT: I have an answer, I had to do Xcode clean, delete Derived Data and reset content and settings on simulator. Now it's working 👍

radekwilczak avatar Feb 20 '20 14:02 radekwilczak