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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:18:08+00:00 2026-06-08T05:18:08+00:00

I am new to iPhone developer, I am making Book Reader app, in which

  • 0

I am new to iPhone developer,

I am making Book Reader app, in which i have 40 books, when i place each books in my background image, my image doesn’t scroll, i want scrolling in my UIImage.

I tried this but it doesn’t scroll my image.

self.view.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageWithContentsOfFile:[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"bg.png"]]];

In short: i want to increase size of the background image depending on content.

See my Snapshot :

  • 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-08T05:18:10+00:00Added an answer on June 8, 2026 at 5:18 am

    One thing.. Setting a longer BG image wont make your controllers size large… You need to either take UIScrollView to let you view remaining Items or you have to set the size of your books in such a way that they changes their size in such a manner that they get fit depending upon their numbers.
    If you want to have it without UIScrollView and all books at the same page no matter what is the total number of Book then as Павел Оганесян says in one of his comments

    At first, get it working with static sized view (as for 40 book always, for example). Then improve you solution to any number of books.

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

Sidebar

Related Questions

I am new to iPhone developer, I made epub reader and loaded each page
I am new to iPhone developer, I made epub reader and loaded each page
im new developer and making my firt iPhone app ,and i want to make
New developer here. I'm making my first iPhone app. The app will display a
fairly new iPhone developer here. Building an app to send RS232 commands to a
I am new to iPhone developer, I have 4 page in my Application, my
I am a new iPhone developer. By mistake I Have revoked my developer certificate.
i am new to iPhone developer, i am creating ePub reader for reading ePub
I am a new iPhone Application developer. I want to create an application which
I am a relatively new iPhone app developer so my knowledge is a little

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.