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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:12:03+00:00 2026-06-08T20:12:03+00:00

I am trying to build an application with a UIWebView for the iPhone. This

  • 0

I am trying to build an application with a UIWebView for the iPhone.

This was working great, until in turned on rotation support in my app. Now the webview is pushed up under the status bar, when I launch the app. When I rotate it to landscape, and back to portrait, the webview is suddenly back to the wanted position.

I have included an image of what happens below.

What could possibly cause this? Should i change some settings for the webview or what could it be?

If you need anymore information, please let me know.

Screenshot:
a busy cat
(source: teet.dk)

//Jens

  • 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-08T20:12:05+00:00Added an answer on June 8, 2026 at 8:12 pm

    Instead of doing

    [window addSubview:[wvTutorial view]];
    

    Try doing:

    [window.view addSubview:[wvTutorial view]];
    

    Also make sure your XIB view doesn’t have a status bar.


    EDIT

    What about

    self.window.rootViewController = [[WebViewController alloc] initWithNibName:@"WebView2" bundle:[NSBundle mainBundle]];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build an application for both iPad and iPhone. My webview is
I do have a java server. I am trying to build IPhone application that
I'm trying to build a application for the iPhone, although I am completely new
I'm trying to build an application in Android using some codes from Objective-C (IPhone
I am trying to build chat application with long polling mechanism on Google app
I am trying to build an application for iphone with using storyboard that starting
this is related to my previous question. I'm trying to build Phone application from
I'm trying to build application that could help me dial a contact just like
I was trying Build For Archiving application (from Titanium Mobile) with xCode 4.4, but
I am trying to build an application, but it gives some error. My JDK

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.