Copy from Mac OS X does not copy to iPhone Simulator

前端 未结 9 618
夕颜
夕颜 2021-01-30 12:02

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

9条回答
  •  甜味超标
    2021-01-30 13:07

    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

    1. Copy text from anywhere
    2. Paste on the simulator by command (command + v), it will show nothing
    3. Then press (command + shift + v)

    it works for me

提交回复
热议问题