可以设置朋友圈文字内容的行间距。可以在FriendCircleFrameModel(根据model计算frame)中设置内容的行间距和首行缩进,注意设置行间距和首行缩进也需要 CustomHeaderView(组头视图中设置NSMutableParagraphStyle *style = [NSMutableParagraphStyle new]; style.lineSpacing = 5; style.firstLineHeadIndent = 20; NSMutableAttributedString *abs = [[NSMutableAttributedString alloc]initWithString:model.contentStr]; [abs addAttribute:NSParagraphStyleAttributeName value:style range:NSMakeRange(0, model.contentStr.length)]; self.content.attributedText = abs;)
相关文章:
- IOS仿微信朋友圈好友展示 2021-10-20
- JS HTML5仿微信朋友圈特效 2021-11-11
- HTML5仿微信聊天与朋友圈 2021-12-03
- Android 仿微信朋友圈添加图片 2021-11-21
- H5+微信朋友、朋友圈分享 2021-09-27
- 微信开发(三)微信分享朋友朋友圈 2022-12-23
- Android仿微信朋友圈图片查看器 2021-11-11
- HTML5仿微信聊天界面、微信朋友圈实例 2021-12-16