In my iPhone app, I have many ASCII arts which I need to insert into the database.
I am using the simulator and pasting the textpic in the textview to insert the ASCII a
Check out the text
property of the UITextView
. Simply load your textpic into an NSString
, and set that string to be the text
property of the TextView.
http://developer.apple.com/library/ios/#documentation/uikit/reference/UITextView_Class/Reference/UITextView.html%23//apple_ref/occ/instp/UITextView/text