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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:08:06+00:00 2026-05-16T15:08:06+00:00

I want to do an iPhone 4 only app that uses the iAd AdBannerView.

  • 0

I want to do an iPhone 4 only app that uses the iAd AdBannerView. When I add this it has a fixed size of 320×50. How does this work with the higher resolution?

Can someone explain how the higher resolution of the iPhone4 vs the previous devices work in relation to UIView’s in xib files. Do I create the UIView with the higher resolution than the standard 320×480? whats the recommended practice?

  • 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-05-16T15:08:06+00:00Added an answer on May 16, 2026 at 3:08 pm

    To an iphone developer the resolution of the iphone 4 display is actually still 320×480 points. The underlying cocoa touch implementation renders the controls all in 640×960 for you. The iAds banner will handle the extra resolution with out you noticing.

    The only times you really need to think about the extra pixels is when you have bitmaps, or you are dealing with the OpenGL stuff.

    When ever you are using UIImage (or some other) bitmap the under lying image should in an ideal world match the native resolution of the device. Thus a 150×150 image displayed on a 3G in a UIImage measuring 150ptx150pt will display just right in 150 pixels by 150 pixels, but on the retina display it’ll actually be rendered into 300 x 300 pixels and could look a little blurred as UIImage has had to scale the picture up before rendering it to the display.

    There are two options to get the best images displayed:

    1. Always use double sized images – on older devices UIImage will scale down the image so display, at the cost of CPU/GPU time. This isn’t really recommended as will be lowering the performance on the slowest devices.
    2. Have two copies of the image one in double size and switch the image reference before showing the view. Note that [UIImage imageNamed:] will automatically load a @2x image file if present making this option quite easy to implement.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create an iPhone app that uses a navigation scene similar to
I want to have a setting in an iphone app that uses a toggle
In my app I want to enable only iPhone 4 and newer version, and
I'm working on a navigation-based iPhone-only app that serves two main purposes: One, to
I have an iPhone app that has four tabs. On Tab 1 there is
I want iPhone app icon and graphic (not only the app icon shows on
I currently have an iphone app that I want to make an ipad version
I want to create a custom tab bar for an iphone app that looks
I'm designing an iPhone app that communicates with a server over HTTP. I only
My app has been rejected 2 times because its only a iPhone app, the

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.