jdg / MBProgressHUD

MBProgressHUD + Customizations
http://www.bukovinski.com/
MIT License
16.01k stars 3.56k forks source link

Spinner is not in the center on 1.0.0 #398

Closed GabeJacobs closed 6 years ago

GabeJacobs commented 8 years ago

Hey!

Love the new update, but it looks like there is an issue with centering the spinner on 1.0.0

Here is a blown up image. You'll notice the spinner is a tiny bit too high and too far left. Would love a fix! Thanks.

screen shot 2016-07-19 at 3 11 23 pm

PiaoL commented 8 years ago

Hi, It happened sometimes, most time everything awesome. Version 1.0.0 My device is iPhone 6s. Would love a fix! Thanks.

image

RojS commented 7 years ago

This appears to be a bug in UIActivityIndicatorView. If line 460 in MBProgressHUD.m is commented out the spinner remains centred.

5

This bug can be reproduced independently of MBProgressHUD. It is strange behaviour. It appears that if UIActivityIndicatorView.color is set to anything other than opaque white in the kCGColorSpaceDeviceGray color space then the spinner is offset.

Note the debug output.

b

a

RojS commented 7 years ago

By the way I really prefer MBProgressHUD over SVProgressHUD but would love to see an "annular indeterminate" option for the activity indicator. Perhaps this might be the catalyst for it ;-)

screen shot 2017-03-11 at 12 51 50 am

matej commented 6 years ago

Yeah, I could confirm that this is a bug on UIActivityIndicatorView. If anybody wants to file a radar, that'd be great.

RojS commented 6 years ago

I logged a bug in Apple Bug Reporter (the black hole) on 11-Mar-2017 (#30980078) with detailed information. But I have never received a response, it was not even marked as a duplicate, and is still open.