MIBadgeButton
MIBadgeButton copied to clipboard
can't support subclass
+(id)buttonWithType:(UIButtonType)t { return [[MIBadgeButton alloc] init]; }
change it to
+(id)buttonWithType:(UIButtonType)t { return [[self alloc] init]; }