SwipeBack
Enable iOS 7+ swipe-to-back when custom back button is set.
Install / Use
/learn @devxoul/SwipeBackREADME
SwipeBack
Enable iOS7 swipe-to-back when custom back button is set.
SwipeBack plays with iOS native gesture recognizers, so you can also use it to disable swipe-to-back feature.
Getting Started
Use CocoaPods.
Podfile
platform :ios, '7.0'
pod 'SwipeBack', '~> 1.1'
Usage
Basic Usage
Just install SwipeBack with CocoaPods. Your application now supports swipe-to-back feature.
Enabling and Disabling
You can set swipeBackEnabled for a specific UINavigationController. Default value is YES.
#import <SwipeBack/SwipeBack.h>
// ...
- (void)viewWillAppear:(BOOL)animated
{
self.navigationController.swipeBackEnabled = NO;
}
License
SwipeBack is under MIT license. See LICENSE for more info.
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
