Copy from Mac OS X does not copy to iPhone Simulator

前端 未结 9 525
夕颜
夕颜 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:00

    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.

    0 讨论(0)
  • 2021-01-30 13:02

    In Xcode 9 or above: 1. Active simulator 2. Check menu "Edit -> Automatically Sync Pasteboard" 3. Enjoy :)

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题