Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要检测震动的强度。我必须在屏幕上移动一些物体以动摇力量。iOS SDK API可以吗?
这是完全可能的。查看 Core Motion 和 UIAccelerometer。
https://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/MotionEvents/MotionEvents.html