可以在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;)
-
Notifications
You must be signed in to change notification settings - Fork 0
zhuweigea/WXFriendCircle
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published