简体   繁体   English

iOS模拟器6.0中没有照片

[英]NO photos in ios simulator 6.0

Upgraded from ios 5.1 to 6.0. 从ios 5.1升级到6.0。 There are no photos in Simulator 6.o for ImagePicker. Simulator 6.o中没有用于ImagePicker的照片。 I created .../DCIM/100APPLE/..and put in photos there, but again don't show up in simulator 6.0 ? 我创建了... / DCIM / 100APPLE / ..并在其中放置了照片,但是再次没有出现在模拟器6.0中吗?

Any ideas? 有任何想法吗?

I've noticed the same behavior with the iOS 6.0 simulator. 我注意到iOS 6.0模拟器的行为相同。 If you save photos within the simulator, the Media/DCIM/100APPLE directory gets created. 如果将照片保存在模拟器中, Media/DCIM/100APPLE创建Media/DCIM/100APPLE目录。 But subsequently adding new photographs manually via the filesystem does not add them to the Photos app in the simulator. 但是随后通过文件系统手动添加新照片不会将它们添加到模拟器中的“照片”应用程序中。

For now, it appears we are stuck with other ways of adding photos. 目前看来,我们仍然无法使用其他添加照片的方法。 You can drag photos one-by-one to the simulator which opens the file URL in MobileSafari. 您可以将照片一张一张地拖到模拟器中,后者会在MobileSafari中打开文件URL。 From there, a long press on the image will allow you to add the image to the library. 从那里开始,长按图像将使您可以将图像添加到库中。

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

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