简体   繁体   English

如何将图片传输到iOS模拟器?

[英]How can I transfer pictures into iOS Simulator?

I'm testing out a few things and want to do some screen grabs to show the difference depending on different pics but I can't easily get them on the device.我正在测试一些东西并想做一些屏幕抓取以根据不同的图片显示差异,但我无法轻松地将它们放在设备上。 I'm using React Native and I'm on a mac using Xcode.我正在使用 React Native,我在 mac 上使用 Xcode。

You can simply drag the image into the simulator and it'll work.您只需将图像拖到模拟器中即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM