PeekPop is an open-source Swift framework that brings Apple's Peek and Pop interactions to older iOS devices without native 3D Touch support. It allows users to preview content and open it through familiar touch gestures. On compatible devices, the framework uses Apple's native pressure-sensitive interactions. On older devices, it estimates touch pressure by detecting changes in the finger's contact area on the screen. PeekPop also recreates the animations associated with Peek and Pop for a consistent experience. Its API closely resembles Apple's original implementation, simplifying integration into existing applications. The framework supports iOS 8 and later and provides delegate methods for managing previews and navigation. It can be integrated through CocoaPods or Carthage.
Features
- Backward-Compatible Peek and Pop Interactions
- Native 3D Touch Integration
- Custom Pressure-Sensitive Touch Recognition
- Animated Content Previews and Transitions
- Apple-Compatible Previewing API
- iOS 8 and Later Device Support