-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS.set_clipboard() doesn't work on iOS #52228
Comments
Does iOS even support setting clipboard data outside of its virtual keyboard? Maybe @bruvzg knows about this. |
Hi @Calinou , iOS does have UIPasteBoard By global search on main branch i can see UIPasteBoard implement for ios But in 3.3.2-stable i can't find any thing relate to UIPasteBoard So i manually add these and it work :D. Doesn't know if it correctly or i'm missing something but for now it work for me. platform/iphone/os_iphone.h
platform/iphone/os_iphone.mm
|
Feel free to open a pull request for this against the |
Ok @Calinou |
Fixed by #52540. |
Godot version
3.3.2-stable
System information
Macbook Pro 15" Mid 2015 - BigSur 11.5.2
Issue description
Maybe i'm missing something but this doesn't work on iOS, both on Simulator (14.0.1) and Real Device (Iphone 5s - 12.0.1)
They work well on Android but doesn't know why it doesn't work on iOS. There is no error when calling too so i don't know exactly it's an error or missing something.
Steps to reproduce
Just calling these on an iOS simulators or real devices.
Minimal reproduction project
iOS-Clipboard-issue.zip
The text was updated successfully, but these errors were encountered: