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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:07:01+00:00 2026-05-25T20:07:01+00:00

I have a project based on a window-template, so it doesn’t have a viewController.

  • 0

I have a project based on a window-template, so it doesn’t have a viewController. Now I’m trying to make this work in landscape only, and I have set the “supported device orientations” to “Landscape (right home button)” only, just the way I want it. The app actually launches in Landscape mode, but when I want to show an image which is btw a landscape-fullscreen one, iOS draws it in Portrait mode, cutting off what doesn’t fit. Well I know the option of implementing a ViewController and editing the “shouldAutorotate…” method, but I want to do it without.
I have one solution in my mind, but I’m not sure whether it#s such a great idea: Rotate the whole coordinate-system on app-startup manually using “CGTransform…”

  • 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-25T20:07:02+00:00Added an answer on May 25, 2026 at 8:07 pm

    Down that path lies madness. Just because the template doesn’t include a built-in UIViewController doesn’t mean you can’t add one yourself.

    Add one, and save yourself a bazillion headaches.

    From a more technical standpoint, a lot a UIKit expects the window to have a UIViewController, and not having one means you can lose out on a whole lot of behavior that you would otherwise get for free.

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

Sidebar

Related Questions

I have UITableViewController (initiated by the Navigation-based app project template). I am overriding loadView
What I have so far: I'm currently working on a Lift-based project for work.
I have a window-based project with two UITextField s to take input from the
I have an iPhone project that starts out with a standard UIView based Window...
I have a unit test project based on UnitTest++. I usually put a breakpoint
I have developed a view based project in Xcode. It is successfully running in
I have a project where a xsd document is loaded, and based on that
I have inherited a web project that is perl based and I'm attempting to
I have just tried adding a WebService (asmx based) from a WebForms project to
I have a set of documents based on a LaTeX template. Every document has

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.