Weight Things on Your iPhone 6S Without an App

December 16, 2015 05:56 EST • Alexandre Vallières-Lagacé • less than 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!

Next Story

reddit appstore rss jsonfeed twitter youtube macstore podcast amazon cloudapp github-circled itunes pinterest mail heart search folder link website block plus-circled minus-circled thumbs-up paper-plane telegram-font-icon flipboard twitter-1 facebook github-circled-1 rss-1 menu gplus angle-double-left angle-double-right compass youtube-play instagram apple share newspaper reddit-alien telegram flipboard2 chevron-down