ios - 如何使用超声波测量两个或多个iPhone设备之间的距离

标签 ios objective-c swift audio

我想通过使用超声波或其他声音测量来测量两个或多个移动的 iPhone 之间的距离。

这怎么可能呢?

请帮我

问候

最佳答案

iPhone不提供任何具有部分规范的超声功能。您将需要iPhone扬声器产生某种类型的波,并且还需要一个换能器来拾取声波反弹时的声波。

Ultrasound pictures are made from sound waves which are too high pitched to be heard by the human ear. The sound waves travel through your skin and are focused on a certain part of your body by a scanning device called a “transducer.” It picks up the sound waves as they bounce back from organs inside the body.



您可以通过转到iPhone specs和有关超声的更多信息here获得更多信息。

也许将来我们可以用我们的iPhone做到这一点?

关于ios - 如何使用超声波测量两个或多个iPhone设备之间的距离,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30380488/

相关文章:

ios - 旋转呈现 View 并锁定呈现 View Controller 的方向

ios - 如何从 iOS 中两个日期范围内的照片库中获取图像?

ios - 如何在 iOS 中为 UITextField 设置方形边缘

ios - iPhone 4 中的 View 宽度问题?

ios - 了解 Parse Geopoint 和 CoreLocation 之间的区别

ios - 如何以正确的顺序创建多个SKShapeNode?

objective-c - 从 PHP structArray 为 Iphone 的 Objective C 解析 XMLRPC,就像在 Android 应用程序中从 Java 的 HashMap

objective-c - 有没有快速的方法知道 UITableView 中设备屏幕外的单元格是什么?

objective-c - iOS:NSUserDefaults 和 UIImageViews

swift - 如何获得自某个时间标记以来已经过去了多少分钟