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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:33:49+00:00 2026-06-01T11:33:49+00:00

Please help me to turn off user interaction. I have a custom view which

  • 0

Please help me to turn off user interaction.
I have a custom view which appears for several seconds on the top level of view hierarchy. There are several buttons under the view. The problem is that buttons catch touch events when user clicks on view. I’ve set myCustomView.userInteractionEnabled = NO; And nothing happens. Buttons catch events through view all the same. How to create a view which will not allow to intercept touches through it?

  • 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-01T11:33:50+00:00Added an answer on June 1, 2026 at 11:33 am

    If myCustomView is at the top level of view hierarchy, I imagine you are trying to implement something like an overlay view, that covers the other views translucently. In this case, setting userInteractionEnabled = NO on this view will cause touch events to be forwarded to the views below.

    The correct way is to set userInteractionEnabled = YES on your custom view, then either create a transparent button to reroute touch to a dismiss IBAction, or ignore it.

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

Sidebar

Related Questions

can someone please help me turn this nested structure into a single LINQ statement?
I have a video which has got turn left,turn right etc marks on the
I need to turn off a default hover state. I have the following code.
i have to make a java program (an artichoke cipher) well... please help lol
Please help me with an issue that I have come across during work. I'm
Please help to the newbie in WPF! I need to build a TreeView with
Please help me with using the DrScheme built-in function filter. create a function hello
Please help! I need to produce a Crystal Report with multiple data columns, but
Please help me to fix the CSS error in profile on my site (IE).
Please help to replace these jQuery functions with Prototype ones: $(button,input,label,select,textarea).bind('mouseover mouseout', function(){$(this).toggleClass('hover')}); $(button,input,select,textarea).bind('focus

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.