WZLBadge
WZLBadge copied to clipboard
//An one-line tool to show styles of badge for UIView
badgeFont = [UIFont systemFontOfSize:12]; 这样的圆点好像被切割了一点,变得不圆了
不支持autolayout 如题 本人解决方法,gcdafter才能正确显示位置
Dear,new模式 不考虑下自定义文字吗?
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { CustomTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"CustomTableViewCell" forIndexPath:indexPath]; [cell.avator showBadge]; return cell; }
我的TableViewCell使用xib自动布局, 当xib中的cell高度和代码中不一致时,WZLBadge显示的位置会以xib中的为准,同样的Label使用自动布局时也无法根据文字长度更新badge位置。
iOS 11上[self.navigationItem.rightBarButtonItem showBadge]不显示红点
我在你的小红点外面加了白色外边框,发现有边框展示效果不好