mrackwitz / MRProgress

Collection of iOS drop-in components to visualize progress
MIT License
2.55k stars 306 forks source link

Custom ImageView displaying incorrectly #98

Open RVijay007 opened 9 years ago

RVijay007 commented 9 years ago

I've made a custom imageView and set it's frame to 0,0,150,150 since you require that the frame be set with the Custom enum tag. However, when the overlay view pops up, doesn't display correctly at all, and I'm not sure where in the documentation there is information on how to display custom images in the OverlayView. How can I display a custom image with a title using MRProgressOverlayView?

mrackwitz commented 8 years ago

It should keep the width and height of the custom view. As seen in #103, there is a bug in the layout code which causes that a custom mode view's height is enforced to be the same as it's height. But this shouldn't have mattered for your concrete case, you described here.