Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7616327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:51:39+00:00 2026-05-31T02:51:39+00:00

this is my first question, but i use this site a lot this last

  • 0

this is my first question, but i use this site a lot this last months (thanks for all).

My problem: i have a split-view project for i-Pad. In the DetailViewController I use a UIButton.
Here’s some code from DetailViewController.h:

@property (strong, nonatomic) IBOutlet UIButton *button;
- (void)swipeRightDetected:(UISwipeGestureRecognizer *)recognizer;

In DetailViewController.m I just do this:

- (void)viewDidLoad
{
    [super viewDidLoad];
    [self configureView];

    UISwipeGestureRecognizer *swipeRight = [[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(swipeRightDetected:)];
    swipeRight.direction = UISwipeGestureRecognizerDirectionRight;
    [self.button addGestureRecognizer:swipeRight];
}

- (void)swipeRightDetected:(UISwipeGestureRecognizer *)recognizer
{

    if (recognizer.view == self.button) {
    NSLog(@"YEAH");
    }
}

Now the problem is: it was working perfectly with iOS 5.0.1 and previous. Now it doesn’t work any longer. IT WORKS FOR ANY OTHER DIRECTION but NOT for RIGHT direction and only in a DetailViewController!!
It only works if you hit the iPad with strength and speed (like a slap!), and same thing for the simulator.. it only works if you do the swipe very very very fast!

I think it’s a bug.. what should i do? Maybe post the same question on apple forum?
Thank you all, you’re all great!!
Marco

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T02:51:40+00:00Added an answer on May 31, 2026 at 2:51 am

    I would guess that this has to do with the new “sliding presentation style” of the split view controller in iOS 5.1. The release notes say that you can disable this behavior by setting presentsWithGesture to NO.

    Another option might be to implement gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer: in your gesture recognizer’s delegate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first question, but I've already found this site extremely helpful, so
First of all, I did some searching for an answer to this question...but I
First of all there is probably a question like this already but i couldn't
This is really a three-part question, but I've answered the first question myself: I'm
I've looked at this question: Select first instance only with XPath? But if I
This may be a very mundane question, but this is the first jQuery plugin
This is a two part question, but I want to make sure the first
First, let me apologize if this is the world's stupidest question. But, I'm stumped
(I am sorry, I wanted to ask this question on meta first, but it
So this was one of my very first questions here, but I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.