This is a simple solution to the clipping board problem of Apple silicon MAC IOS simulator.
- Start an HTTP service locally. After receiving the request, the service will return the current clipboard content.
- Customize the shortcut key
Ctrl + V
on the app side. Put the input box(UITextField or UITextView) is in editing status, start this shortcut key, then send an HTTP request, and automatically fill the input box after getting the result. The code has been encapsulated and can be directly integrated.
- PasteboardServer is a mac app, it supports startup and custom HTTP ports