Weight Things on Your iPhone 6S Without an App

December 16, 2015 05:56 EST • Alexandre Vallières-Lagacé • 1 minute read

Remember those apps that Apple banned not long ago that allowed you to weight things on your brand new iPhone 6S and 6S Plus? Well it turns out that there are JavaScript API in Safari that lets you access the sensor data!

All you have to do is use a bit of JS code and you can make your very own 3D Touch scale. Tarun Pemmaraju is a web developer that did exactly that for you! You can test the feature on his GitHub hosted website.

Or even checkout the repository for some code examples.

I’m pretty sure the same thing works with the Magic TrackPad on a Mac too!