如何在iPhone模拟器中测试相机? [英] How do I test a camera in the iPhone simulator?

查看:263
本文介绍了如何在iPhone模拟器中测试相机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在模拟器中测试iPhone相机而无需在设备上部署?这看起来非常繁琐。

Is there any way to test the iPhone camera in the simulator without having to deploy on a device? This seems awfully tedious.

推荐答案

您必须在设备上测试许多设备特定功能,但它不是比使用模拟器更难。只需为设备构建一个调试目标,并将其连接到计算机上。

There are a number of device specific features that you have to test on the device, but it's no harder than using the simulator. Just build a debug target for the device and leave it attached to the computer.

需要实际设备的操作列表:

List of actions that require an actual device:


  • 实际手机

  • 相机

  • 加速度计

  • 真实GPS数据

  • 指南针

  • 振动

  • 推送通知......

  • the actual phone
  • the camera
  • the accelerometer
  • real GPS data
  • the compass
  • vibration
  • push notifications...

-t

这篇关于如何在iPhone模拟器中测试相机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆