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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:23:43+00:00 2026-06-08T01:23:43+00:00

In my application, I want to select UIView programmatically. How can I select UIView

  • 0

In my application, I want to select UIView programmatically.
How can I select UIView programmatically?

If(UIView is selected programmatically || UIView is tapped){

          invoke tapGesture Action
}

Is it possible?

  • 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-08T01:23:44+00:00Added an answer on June 8, 2026 at 1:23 am

    UIView itself doesn’t support selection, although some subclasses do. For example, UITableViewCell has a selected property that modifies how the cell draws itself.

    If you want to mimic what happens when a user taps a view, you’ll do two things:

    • Provide the same feedback that the user would see if she tapped that view. This might mean redrawing the view, performing an animation,playing a sound, or some combination of those.

    • Perform the same action that would happen if the user tapped the view.

    So, if the view is a button, you might set its highlighted state to YES, wait maybe 0.2 seconds, and then set it back to its previous state. Next, invoke the button’s action on the button’s target.

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

Sidebar

Related Questions

On Gnome/KDE you can select in which application you want to open file (Right
In my application i want to select the video from library by using UIImagePickerController.
In my application, i want user to select a font, from a list of
I am developing an application in which what i want is when i select
In my web application I want to add authorization in certain action method in
I'm using jQuery's dynaTree in my application and I want to select the all
I am working with Jsbs and want to select a DBMS for my application
In My iPhone application,I want to crop an image.That means i want to select
I have id(array) used in my application . i want to select number of
Hi friends Iam doing an android application in that i want to select one

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.