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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:21:44+00:00 2026-06-12T15:21:44+00:00

I have a ViewController with a UIScrollView and 3 subviews. I’ve declared the size

  • 0

I have a ViewController with a UIScrollView and 3 subviews.
I’ve declared the size of the UIScrollView to have the 3 views by horizontal scrolling.
I’m trying to draw a new image on top of each sub view and when the view will be scrolled I would like that the new image will be scrolled with the subview.
Right now, I managed to draw the new image, but it remains static even when I scroll the views.

x = [button frame].origin.x;
y = [button frame].origin.y;
check = [[UIImageView alloc] initWithFrame:CGRectMake(x+100,y+100, 20, 20)];
check.image = [UIImage imageNamed:@"check.png"];    
[self.view addSubview:check];
  • 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-12T15:21:46+00:00Added an answer on June 12, 2026 at 3:21 pm

    Don’t draw it in your scroll view. Draw it in your custom UIImageView subclass. Or add subviews to your image views.

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

Sidebar

Related Questions

I have placed the uiscrollview for viewcontroller. Then I have set my large size
I want to have a ViewController that has a table view on the top
I have implemented a large list of views in a UIScrollView. I cannot use
I am trying to create a UIScrollView programatically. I have a scrollView for that
I have two horizontally scrolling UIScrollViews stacked vertically on top of each other within
I have a UIScrollView which I add a couple of subviews to (done in
I have a viewcontroller that repeatedly repositions 6 items within a uiscrollview. However, even
I have a view controller that has three scroll views as subviews. I would
I have a UIScrollView which has added viewController.view .How to get subview in scroll
I have a UIScrollView as a child to a ViewController.view and for some reason

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.