![]() Now that I figured it out, I actually like it much better than if the simulator clipboard was automatically tied to the OS X clipboard. Leverage the simplicity and power of Swift and SwiftUI with a new multiplatform app experience, code faster with enhanced editor features, and start testing and deploying from Xcode Cloud to TestFlight and the App Store. The menu options do the same thing as the keyboard shortcuts-copy/paste between the system clipboard and the simulator keyboard. Xcode 14 includes everything you need to develop, test, and distribute apps across all Apple platforms. Then in your application, you simulate a touch in the textfield to bring up the paste option, then simulate a touch to the paste button to paste the simulator clipboard contents into the app. Then switch to the simulator, Command-V to paste into the simulator clipboard. So to copy and paste from Chrome (for example), you select the text in Chrome, Command-C to copy. You can use the standard OS X copy paste shortcuts (Command-X,C,V) to paste from the system clipboard into the simulator clipboard. You use the touch-based copy and paste commands to paste into your application from the simulator clipboard. I finally realized that the simulator has it's own clipboard, separate from the main OS X clipboard. ![]() Results were similar to what you describe: copy and paste would sometimes paste the same value as I had copied before, but not what I just copied to the clipboard. ![]() ![]() I was getting frustrated with copy and paste in the simulator and couldn't figure out what was going on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |