Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS13 beat4 show hud problem #974

Closed
wuwenyan opened this issue Aug 8, 2019 · 19 comments
Closed

iOS13 beat4 show hud problem #974

wuwenyan opened this issue Aug 8, 2019 · 19 comments
Labels

Comments

@wuwenyan
Copy link

wuwenyan commented Aug 8, 2019

iOS13 beat4,HUD don't show statusLabel when Second Call

@Ryan0520
Copy link

I have same issues

@ajprala
Copy link

ajprala commented Aug 13, 2019

i see the same thing for my app built against iOS 12 SDK running on iOS 13, however if I build it on iOS 13 SDK the label seems to show up everytime (at least on the simulator).

@rl3780
Copy link

rl3780 commented Sep 2, 2019

iOS13 beta7, problem still exist

@gh552
Copy link

gh552 commented Sep 3, 2019

We had the same problem and updated SVProgressHUD to Version 2.2.6.
With 2.2.6 everything works fine, there is no problem.

@rl3780
Copy link

rl3780 commented Sep 4, 2019

@gh552 thanks, not sure why there is no tag for version 2.2.6, but update to newest code works for me.

@Ryan0520
Copy link

@gh552 thanks, not sure why there is no tag for version 2.2.6, but update to newest code works for me.

the newest code is 2.2.5, did not solve the problem

@imilakovic
Copy link

Hm... It seems to work for me with version 2.2.5, built with Xcode 11.0 GM (11A419c).

@PublicWorld
Copy link

PublicWorld commented Sep 21, 2019

same issue .😟
image

@demoker
Copy link

demoker commented Sep 23, 2019

if(!_stringLabel.superview) [self.hudView addSubview:_stringLabel];

replace:

if(![self.hudView.subviews containsObject:_stringLabel]) [self.hudView addSubview:_stringLabel];

@nickthedude
Copy link

This seems to still be an issue

@ivela
Copy link

ivela commented Oct 1, 2019

if(!_stringLabel.superview) [self.hudView addSubview:_stringLabel];

replace:

if(![self.hudView.subviews containsObject:_stringLabel]) [self.hudView addSubview:_stringLabel];

Hi. I couldn't find this line: if(!_stringLabel.superview) [self.hudView addSubview:_stringLabel]; in the source code.

Could you explain me where do I have to change it?

@remew
Copy link

remew commented Oct 11, 2019

We had the same problem but @demoker 's solution works fine!!
Thank you for your solution!

@ivela
_stringLabel is old name.
So replace _stringLabel with _statusLabel in @demoker 's code and find it.

You have to change around this line if you are using current master branch.
https://github.com/SVProgressHUD/SVProgressHUD/blob/master/SVProgressHUD/SVProgressHUD.m#L1308
It should solve the problem.

@tritmm
Copy link

tritmm commented Oct 17, 2019

@demoker @remew
thank you so much <3

@tritmm
Copy link

tritmm commented Oct 17, 2019

let do:

Find:
if(!_stringLabel.superview) [self.hudView addSubview:_stringLabel];
Replace:
if(![self.hudView.subviews containsObject:_stringLabel]) [self.hudView addSubview:_stringLabel];

and Find (imageView):
if(!_imageView.superview) [self.hudView addSubview:_imageView];
Replace:
if(![self.hudView.subviews containsObject:_imageView]) [self.hudView addSubview:_imageView];

@muratyasarr
Copy link

muratyasarr commented Nov 7, 2019

Why don't we fix this problem and release a new version of SVProgressHUD?

@honkmaster
Copy link
Member

This component is OSS. You are always welcome to submit a fix as pull request.

@honkmaster honkmaster reopened this Nov 7, 2019
@iHardikTrivedi
Copy link

Try this solution:
[SOLUTION]

@honkmaster
Copy link
Member

Simulator Screen Shot - iPhone 11 Pro - 2020-01-04 at 09 47 14

I am looking at the demo project. The label is shown on iOS 13 without any issue. Please provide any details to reproduce this issue.

@stale
Copy link

stale bot commented Jul 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

@stale stale bot added the stale label Jul 3, 2020
@stale stale bot closed this as completed Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests