These are some autolayout constraint fixes just as the title says.
1.) By removing all the constraints on the bezelView the intrinsic content size constraits of the MBBackgroundView were also removed. This caused the bezel to be extend over the whole bounds if the HUD was being moved from one superview to a new one. By removing only the known constraints the setContentHuggingPriority also becomes unnecessary.
2.) The second commit just makes sure that top/bottom spacer constraints are removed before attaching new ones.
These are some autolayout constraint fixes just as the title says.
1.) By removing all the constraints on the bezelView the intrinsic content size constraits of the MBBackgroundView were also removed. This caused the bezel to be extend over the whole bounds if the HUD was being moved from one superview to a new one. By removing only the known constraints the setContentHuggingPriority also becomes unnecessary.
2.) The second commit just makes sure that top/bottom spacer constraints are removed before attaching new ones.