Get Updates By E-mail 

Article Written By:
Johann Dowa

Swift Library For Emulating 3D Touch On Older iOS Devices

  •  
  •  
  •  
  •  
  •  

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments