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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:14:41+00:00 2026-06-18T09:14:41+00:00

I am developing the application based on existing html version and don’t know how

  • 0

I am developing the application based on existing html version and don’t know how to create following background for my scroll view.
I have one image for the top
enter image description here

one that should repeat to the bottom few times
enter image description here

and one image in the bottom
enter image description here

As I understand I must create an empty image with scroll view size, draw the header then calculate how many times to draw the middle image and draw the bottom image. Finally I must apply the created image to background. Am I right?

Please don’t waste your time to write the complete code, I’ll do it myself, I just need to know whether I am on the right way or doing completely wrong and what is the best place in the code to do that?

Please advice

  • 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-18T09:14:42+00:00Added an answer on June 18, 2026 at 9:14 am

    As I understand I must create an empty image with scroll view size, draw the header

    1. you can add a UIImageView with the image property set to your header image.

    then calculate how many times to draw the middle image and draw the bottom image;

    1. it is easier to just say:

      UIView* middleView = [[UIView alloc] initWithFrame:];
      middleView.backgroundColor = [UIColor colorWithPattern:[UIImage imageNamed:...]];
      

    This has the advantage that you do not need to calculate anything and the image will simply repeat itself to fill the middleView. Only ensure that the image width is the same as the view width, and the view height a integer multiple of the image height.

    Finally I must apply the created image to background. Am I right?

    1. this goes like 1.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When developing a new web based application which version of html should you aim
I am developing a view based iPad application.It is a simple view based application
I'm developing an application that detects Source-based games running on the LAN. Following up
I am developing an application in which I have to use existing database but
I'm developing a web based application built on codeigniter which will also have a
I'm developing a android tab based application, i need to know how to replace
Hi I am developing a simple application based upon ASP.NET MVC. I have altered
I'm developing a mobile application for WP7 based on an existing Silverlight desktop application.
I am currently developing version 2 of an application that has an existing code
I'm developing an application based on RCP. Recently, I have moved it to RAP.

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.