Closed brendand closed 8 years ago
Works just fine here. Even with the deprecated API you are using. I just need to set a different radius.
To make this a bit more robust, and less magic number fiddling, rather subclass MBPorgessHUD
, override layoutSubviews
and after calling super do something like this: self.bezelView.layer.cornerRadius = CGRectGetHeight(self.bezelView.frame) / 2.f;
.
In the legacy version I was able to use the following code to get a nice circular shaped view with the activity spinner inside. The bezelView was slightly larger than the UIActivityIndicator itself.
But nothing I do now with the latest version seems to make that work anymore. It's always much too big and never a perfect circle like I had it before.
Is there any other way to control the shape and size of the bezelView?