jdg / MBProgressHUD

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

Conflict with FBSDKCoreKit(5.12.0), will show empty Button (MBProgressHUDRoundedButton) #587

Closed zaishihuang closed 4 years ago

zaishihuang commented 4 years ago

Conflict with FBSDKCoreKit(5.12.0), will show empty Button (MBProgressHUDRoundedButton) Please see the screenshot hud3 hud1 hud2

Ptbaileys commented 4 years ago

same problem

rojo69 commented 4 years ago

Same here. FB swizzles and adds a target (control event).

Ptbaileys commented 4 years ago

I don't use this btn. If u want try comment all MBProgressHUDRoundedButton. It's no a fix but a workaround for my implementation

zaishihuang commented 4 years ago

MBProgressHUDRoundedButton set hidden Yes and in intrinsicContentSize implementation, modify like this: if (self.hidden || self.allControlEvents == 0) return CGSizeZero;

can fix the problem.

kittu4ios commented 4 years ago

I am also facing the same issue. if (self.hidden || self.allControlEvents == 0) return CGSizeZero; fixed my problem. But I am using cocoa pods. In there any way to fix this issue without modifying cocoa pods file

matej commented 4 years ago

Should be fixed in #588. If not please reopen.