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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:06:41+00:00 2026-05-11T05:06:41+00:00

I would like to use the scrolling/panning functionality of the UIScrollView but I would

  • 0

I would like to use the scrolling/panning functionality of the UIScrollView but I would like to handle all the zooming and scaling myself. My current plan is to have a viewController that owns a UIView (I’ll call it view1) with multiple UIViews and UIScrollViews as children.

Is it possible for view1 to handle all multi-touch events (in order to manually render all his children’s zoomed states) and draw the results onto each respective scroll view to allow a user to scroll around the results?

(For the curious, the application is drawing multiple heatmaps, each with its own set of axes. While zooming or scrolling, the axes need to update themselves to correctly label the ranges represented in the data region (the scroll view). The reason I can’t use the default context-image-scaling zoom that comes for free with the scrollView is that ANYthing drawn on the context zooms (including things like reference lines). The zooming action is not to actually make things bigger but to adjust the viewable data range.)

  • 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. 2026-05-11T05:06:42+00:00Added an answer on May 11, 2026 at 5:06 am

    Thanks for your suggestion brad. the solution I ended up using was to extend UIScrollView and override the touchesMoved:withEvent: method with this:

    -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {     if ([[event touchesForView:self] count] == 1)           [super touchesMoved:touches withEvent:event];     [content touchesMoved:touches withEvent:event]; } 

    where ‘content’ is a pointer to my scrollview’s content subview. I had to do it this way because my content needs to zoom-to-point (ie, the points in data-space under the user’s fingers shouldn’t change). The information sent to setTransform: can only tell me the size of the content frame, but I also need the offset into it.

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

Sidebar

Ask A Question

Stats

  • Questions 82k
  • Answers 82k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I would not check the username availability in the model… May 11, 2026 at 4:43 pm
  • Editorial Team
    Editorial Team added an answer You should set a background color for .content this will… May 11, 2026 at 4:43 pm
  • Editorial Team
    Editorial Team added an answer .Where(oh => oh.Hierarchy.Contains("/12/")) You can also use .StartsWith() or .EndsWith(). May 11, 2026 at 4:43 pm

Related Questions

I have a program that monitors debug messages and I have tried using a
What is the best way to create several scrollable regions in an ActionScript 3
I'm viewing HTML in an SWT Browser widget. I am appending logging messages to
What is the best solution/API for this? On my site users upload image, tag

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.