mrackwitz / MRProgress

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

MRProgressOverlayView + UIScrollView.contentInset #54

Closed marcelofabri closed 9 years ago

marcelofabri commented 9 years ago

Properly centering MRProgressOverlayView when it's added to an UIScrollView that has contentInset set.

mrackwitz commented 9 years ago

Thank you! :+1:

marcelofabri commented 9 years ago

:+1:

mrackwitz commented 9 years ago

To come back to this: Generally I would recommend against using the overlay in scroll view as it wont be blocked from interaction automatically and doesn't handle contentOffset values. Could you perhaps provide an Example to demonstrate what you want to reach exactly with that?

marcelofabri commented 9 years ago

I'm using it to add an overlay to the view when using UITableViewController. Currently, I'm manually handling user interaction on my app code, but I'm not handling contentOffset as the table view is always empty when I add the overlay.