You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the library through CocoaPods. Added a UIButton (just an image, no text) and set its class to MIBadgeButton. I didn't do any modifications through the IB.
Then I tried to increase the badge count every time the button is pressed. But when setting the badge string, the app crashes with a EXC_BAD_ACCESS error.
The problem is with Custom class Module, @Isuru-Nanayakkara you didn't selected Module.
Changing the module to MIBadgeButton_Swift will solve your problem.
Hi,
I installed the library through CocoaPods. Added a
UIButton
(just an image, no text) and set its class toMIBadgeButton
. I didn't do any modifications through the IB.Then I tried to increase the badge count every time the button is pressed. But when setting the badge string, the app crashes with a EXC_BAD_ACCESS error.
Below is my code.
I also uploaded a demo project here.
The text was updated successfully, but these errors were encountered: