커뮤니티 글 - 줄 간격 0 -> 8 로 변경
This commit is contained in:
		| @@ -15,6 +15,13 @@ struct DetectableTextView: UIViewRepresentable { | ||||
|      | ||||
|     func makeUIView(context: Context) -> UITextView { | ||||
|         let textView = UITextView() | ||||
|         _ = textView.layoutManager | ||||
|         var attributes = [NSAttributedString.Key: Any]() | ||||
|         let paragraphStyle: NSMutableParagraphStyle = NSMutableParagraphStyle() | ||||
|         paragraphStyle.lineSpacing = 8 | ||||
|         attributes[NSAttributedString.Key.paragraphStyle] = paragraphStyle | ||||
|         textView.typingAttributes = attributes | ||||
|          | ||||
|         textView.isEditable = false // Make it readonly | ||||
|         textView.backgroundColor = .clear | ||||
|         textView.isScrollEnabled = true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung