程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> 編程綜合問答 >> ios-UITextView中粘貼長文本

ios-UITextView中粘貼長文本

編輯:編程綜合問答
UITextView中粘貼長文本

如何在UITextView中粘貼長文本?現在我只要一將數據粘貼到textView.text中就會出錯。

txtView.txt = @"About us

myventr.co is a web-based tool for event creation, event searching and online ticket      selling whilst also serving as a social media network. myventr.co is not just about creating events and buying tickets online but is also a place for you to socialise. You can create your own profile, connect with friends or create your own group for your organisation!

How is this different to other social media websites then? Myevent is about connecting people’s social lives and events all at the same place.  myventr.co will help find all the event details around your location and will also help avoid events clashing by simply searching the Event Calendar before creating an event.";

這是報錯的代碼。

最佳回答:


在下一行不要用文本,在新文本行使用'\n'

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved