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
Got the solution:
From iPhone Simulator menu.
Third option: Restore Content and Settings.
You will lose all the apps installed in the simulator along with the settings.
Got this working for me.
In Xcode 9 or above: 1. Active simulator 2. Check menu "Edit -> Automatically Sync Pasteboard" 3. Enjoy :)
From Xcode 9.0 or above:
Open simulator
Click on "Edit" from top menus
Enable -> "Automatically Sync Pasteboard"
If already enable then disable it and enable again.
Long press to paste your text i.e copied
Below Xcode 9.0
it works for me