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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:16:12+00:00 2026-06-07T11:16:12+00:00

The touchesBegan: is not being called by my TextSelection class. TextSelection is a UIView

  • 0

The touchesBegan: is not being called by my TextSelection class. TextSelection is a UIView subclass which I added as a subview of ReaderContentPage, also a UIView. ReaderContentPage is s subview of ReaderContentView, a UIScrollView. And this ReaderContentView is inside ReaderViewController, a UIViewController. Here is an illustration to make it easier to understand.

enter image description here

Now my problem is this. touchesBegan: and touchesMoved: is not recognized in TextSelect. I enabled the userInteraction, used the UIPanGestureRecognizer, but none of those worked. Now when I tried to do this: [self.ReadContView addSubView:txtSel] instead of this [self.ReadContView.ReadContPage addSubView:txtSel], the touches are recognized. But I have to add it in ReaderContentPage and not in ReaderContentView for some reason. So can anyone explain to me why touchesBegan and touchesMoved are not called when I add TextSelect in ReaderContentPage?

  • 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-07T11:16:14+00:00Added an answer on June 7, 2026 at 11:16 am

    UserInteraction is disabled by default on UIImageView, have you a UIImageView in your readContentPage?

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

Sidebar

Related Questions

I noticed touchesBegan method is not called in UIScrollView if i immediately place my
So, I have a UIView subclass called MovableBlock . It overrides touchesBegan , touchesMoved
I am trying to detect touches, but the touchesBegan method is not being called.
How can I use touchesBegan: withEvent: method in UITableViewController class? UITableViewController is a subclass
Here is the UIPanGesture subclass: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { NSLog(@touches began); self
I've subclassed a UIView and overridden the touchesBegan, touchesMoved, touchesEnded, and drawRect methods to
I have a UIView that I am rendering a UIBezierPath in based on touchesBegan
I'm using a custom UIGestureRecognizer subclass to track gestures on my InfoView class. The
I am not sure if the way that applied in touchesBegan can be applied
I believe I may be dealing with some view issues which are not allowing

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.