Quantcast
Channel: Controls – TAGTECINFO
Viewing all articles
Browse latest Browse all 336

[iOS App Dev Libraries, Controls, Tutorials, Examples and Tools]Swift Library For Emulating 3D Touch On Older iOS Devices

$
0
0

Last week I mentioned a tutorial on using 3D touch on a newer iOS device to create a weighing scale.

Here’s a Swift library that allows you to mimic 3D touch on the millions of pre-iPhone 6+ devices called PeekPop.

PeekPop monitors major changes in UITouch’s majorRadius value to figure out if a user is pressing harder on their phone. PeekPop is almost identical to Apple’s 3D touch APIs so you can add backwards compatibility to apps that utilize 3d touch.

PeekPop works on devices that can utilize iOS 8+.

PeekPop

You can find PeekPop on Github here.

A nice way to emulate 3D touch on older iOS devices.

Original article: Swift Library For Emulating 3D Touch On Older iOS Devices

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Reference source: iOS App Dev Libraries, Controls, Tutorials, Examples and Tools


Viewing all articles
Browse latest Browse all 336

Trending Articles