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

  • Home
  • SEARCH
  • 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 7947909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:34:00+00:00 2026-06-04T01:34:00+00:00

In my application am having CustomScrollView subclass of UIScrollView (I am not using UIView

  • 0

In my application am having CustomScrollView subclass of UIScrollView (I am not using UIView here) in which I have 10 images at bottom and I want to drag any image from bottom to anywhere in scrollview by making copy of it and not deleting original at bottom. BY using touchEnd , touchMoved and touchBegan functions

  • 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-04T01:34:01+00:00Added an answer on June 4, 2026 at 1:34 am

    in your touch begin method you will get touch points and will be able to get imageView where touch begin. Now if you want to show moving of image view do following:

    • in touch begin get the UIImageView object
    • create a new UIImageView object with same properties.

      UIImageView *newImageView = [[UIImageView alloc] initWithFrame:myCurrentImageView.frame];
      newImageView.image = myCurrentImageView.image;
      //other properties if needed
      [myscrlview addSubView:newImageView];
      

      This will add image in your scroll view at same place your previous image view was.

    • In touch move you will get your touch points

    • set your any of UIImageView object lets say

      newImageView.center = touchPoint; 
      

      this will show your image moving

    • In thouchEnd do the same set your newImageView center at touch end position.

    Make sure that you set your UIScrollView properties like content size and every thing as well while moving new image may have origin negative in case your center set to x=0, y=0.

    This will keep the previous image as it is in scroll view and create a copy of new that image while moving.

    Hope this is what you looking for. If not let me know.

    Note: Code may have errors as I just typed here not in xcode but you can understand what to do

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

Sidebar

Related Questions

i have little problem in using my application application having msaccess database if i
I have created an application having tab activity which in turn has 5 different
I have an application having a thread which runs continously,writing to a file.And it
We have a big application having 13 modules. We want to create war file
I have an application having one TEdit which is disabled when the application runs.
I am trying to automate a web application having javascript. I am using WWW::Scripter
I have created an tab bar application having 3 tab. When I am launching
A small - little question. I have seen many application having buttons like following.
My application is having memory problems, including copying lots of strings about, using the
I have web application Project having RPC call. one RPC async is working fine.

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.