請快速提問。 我讀NFC標籤和顯示我的設備的屏幕上的結果,這是如何出現的: The content of the tag is : bla bla bla
我想有2行顯示爲這樣: The content of the tag is :
bla bla bla
我加 android:singleLine="false"
TextView的定義中,但現在雖然我有2行,它不是切,我想這是
我正在嘗試在UITextView中添加換行符或回車符。 var text = UITextField()
text.text = "This is a text \r\n This is a text"
結果顯示在同一行的整個文本: 這是一個文本這是一個文本 是沒可能做在一個UITextView一個新行或CR?或者我在這裏錯過了什麼?