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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:41:26+00:00 2026-05-15T22:41:26+00:00

I have a base UIView which takes up the entire iPhone screen when the

  • 0

I have a base UIView which takes up the entire iPhone screen when the it is horizontal. When the device is rotated to portrait, I want the view to basically just scale down itself and everything in it to 2/3 the size and center it on the screen so everything is shown:

Image: http://img25.imageshack.us/img25/3281/rotateqx.jpg

I can’t for the life of me figure it out though. I’ve messed with autoresizing, but that only seems to work if I do it for each subview, and even though it will scale okay, but because not all the elements are centered they don’t end up in the right location in portrait mode.

And as far as for setting the UIViewContentMode, I can get it to work great for individual elements, but not for the view as a whole, and because I’m implementing customized drawing methods, I can’t just set it for all the elements individually. Also the who placement issue comes into effect again.

Thanks.

  • 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-15T22:41:26+00:00Added an answer on May 15, 2026 at 10:41 pm

    Have you tried adjusting the view’s transform property? If you use CGAffineTransformScale(), you should get the effect you want.

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

Sidebar

Related Questions

in my zf application i have base model class Application_Model, which connects to db
I have a single view in my application which does not receive any events
I have created my iPhone app in Xcode 4 with base SDK 4.3 In
This is a two part question. Our iPhone application has a screen which needs
I have base class Foo with method spam and class Bar which overrides spam
I have base-class Base from which is derived Derived1 , Derived2 and Derived3 .
I have a Base class and two childs (A:Base and B:Base), and I want
I am working on UISplitview base project.I have one problem regarding UISplitview.I want to
I have base class with virtual method. And I have child class, which has
i want typecast using with class functions. i have base (TBase),derived (TDer) and typecasting

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.