Pan gesture To Back Naivigating in iOS App
Objective-C
Latest commit f2b9fe4 Aug 31, 2014 @soleaf Update README.md
Permalink
Failed to load latest commit information.
PanToBack.xcodeproj
PanToBck
PanToBckTests
.gitignore
PanToBack.h
PanToBack.m
README.md
screenshot.gif

README.md

PanToBack

Panning To Back Naivigating in iOS App

screenshot

Use

COPY

Copy files in 'src' to your project. And import header.

Initation
    PanToBack *backer = [[PanToBack alloc] init];
    [backer linkView:self.view];
    backer.delegate = self;
Delegate

REQUIRED

- (void)back
{
    [self.navigationController popViewControllerAnimated:YES];
}

OPTIONAL : Define Disable some Areas

- (BOOL)panToBankAbleViewOn:(CGPoint)point
{
    if (point.x < 320 && point.y < 200){
        NSLog(@"DO NOT USE IN %f.%f",point.x, point.y);
        return NO;
    }
    else return YES;
}