Skip to content

Cannot swipe UITableViewCell to expose delete button when using PaperFold #68

@seenickcode

Description

@seenickcode

Hello. I have a table view controller working fine with the ability to swipe the row and expose a Delete button in iOS 7. But if I use this library, I can no longer swipe the row unless it's starting from beyond the edge of the screen.

Here is how I setup my components. My 'leftViewController' and 'rightViewController' are both PaperFoldNavigationControllers since they each require a navigation controller as their root view controller.

    kAppDelegate.paperFoldNavController = [[PaperFoldNavigationController alloc] initWithRootViewController:self.navigationController];
    kAppDelegate.paperFoldNavController.paperFoldView.backgroundColor = [UIColor blackColor];
    kAppDelegate.paperFoldNavController.paperFoldView.enableLeftFoldDragging = NO; // enabled after login
    [kAppDelegate.window setRootViewController:kAppDelegate.paperFoldNavController];

    // setup menu panel for left paper fold vc
    kAppDelegate.menuPanel = [[SDMenuPanelVC alloc] init];
    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:kAppDelegate.menuPanel];
    [nav setNavigationBarHidden:YES];
    PaperFoldNavigationController *menuNav = [[PaperFoldNavigationController alloc] initWithRootViewController:nav];
    [kAppDelegate.paperFoldNavController setLeftViewController:menuNav width:255];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions