我怎样才能在iOS中实现这种风格?
我尝试使用NSAttributedString和设置NSBackgroundColorAttributeName为,blackColor但它没有clearColor行之间的空格.我也试着设置lineSpacing为NSMutableParagraphStyle,但仍然,样式看起来像一个大黑块.
NSAttributedString
NSBackgroundColorAttributeName
blackColor
clearColor
lineSpacing
NSMutableParagraphStyle
我只需要一个提示,以哪种方式去...谢谢!
换句话说,不是这样的:
cocoa-touch uikit ios
cocoa-touch ×1
ios ×1
uikit ×1