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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:24:26+00:00 2026-05-16T04:24:26+00:00

My problem involves creating a control somewhat analogous to the apple magnifying glass in

  • 0

My problem involves creating a control somewhat analogous to the apple magnifying glass in text view control, where you touch for a second or so to pop up a magnifying glass and then drag your finger around to select your desired location.

I created all the methods that I need for detecting a long stationary touch. Now I need to detect the UIView that my finger has slid over. I’m not exactly sure how to go about making this happen, can anyone point me in the right direction?

  • 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-16T04:24:26+00:00Added an answer on May 16, 2026 at 4:24 am

    Any UIView that needs to report that it was touched can detect the touch using the UIResponder inherited methods

    – touchesBegan:withEvent:
    – touchesMoved:withEvent:
    – touchesEnded:withEvent:
    – touchesCancelled:withEvent:
    

    UIViews that you want to be able to report touches can be inherited from, and in your subclass you can define a delegate method to be called from within the methods above. By setting the delegate to some central reporting class you can have all the touches and the views that received them identified.

    Don’t forget to pass on the touch event, i.e.:

    [[self superview] touchesBegan:touches withEvent:event];

    if you want touch events to work normally.

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

Sidebar

Related Questions

The code I'm creating involves a JRadioButton and a JComboBox. I want the JComboBox
I'm working on a project that involves creating a spline from a defined set
A section of a Flash animation I'm creating involves an area where people can
I'm working on a project that involves creating a custom graphical editor. The graphical
I am creating a Table Control on-the-fly, which contains a series of Labels and
I am facing a problem in the jquery click event. My web page involves
I'm working on a concurrency assignment that involves parallelizing a problem for performance. The
I'm creating a turn and text-based strategy game in Django on Google App Engine
Okay I am newer to python and have been researching this problem but I
Been working on this problem of collision detection and there appears to be 3

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.