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 8094553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:49:35+00:00 2026-06-05T20:49:35+00:00

I have an iOS app with a UITableView that has flexible width, which allow

  • 0

I have an iOS app with a UITableView that has flexible width, which allow me to automatically place scrollbar on the right hand side of my iPad, during orientation change.

However, my cell view has a non resizable background which is supposed to show the user what the touchable area is. However, if the user touch far outside the background, the gesture is intercepted as a didSelect event, because the table is covering the whole screen, and so does the table cell.

I am therefore looking for a way to parse user touch, see if it is outside the background, and accept it or not.

To complicate things, I am using UIStoryBoard.

UPDATE:
just to complete the answer, of the two solutions suggested by lolcat, I have chosen to override the NSResponder method, because I have a UIStoryBoard in place with all the segues already drawn. By using the NSResponder I didn’t change a line of code in my view controller.

  • 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-06-05T20:49:37+00:00Added an answer on June 5, 2026 at 8:49 pm

    I have done something like this by placing an invisible button over the cell where the touch should be intercepted. Create a function to respond as the selector to that button which will act like your didSelectRowAtIndexPath function normally would.

    Otherwise you can subclass UITableViewCell and override touchesBegan (or touchesEnded – based on what you’re looking for). This will allow you to see the exact point tapped within the cell. This method can be seen here.

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

Sidebar

Related Questions

I have an iOS app which I am developing, this app has videos which
I have a UITableView in my iOS app that gets refreshed periodically. The user
I have an iOS app which is using ASIHTTPRequest to talk to a REST
I have an iOS app that publishes a Bonjour service. On my network, the
I have an iPhone (iOS) app that keeps data in a local SQLite database
In my iOS app I have a screen with a bunch of icons that
In my iOS app, I have a simple feature that lets the user rate
I have an app that works fine in iOS 4, but there is a
guys, I have iOS app, which running good on ios5.0, but on 4.3.3 it's
I have an iOS app using In-App-Purchase that caters to an international audience, so

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.