Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread Display Modes
Old Jan 28, 2011, 08:57 PM   #1
macrumors newbie
Join Date: Nov 2008
Using self.view = self.nextView cause the iPad to display a white blank screen

Hi everyone,

I work on an iPad application where there are two views for two orientation.

In iPhone app version, I got the part where it will rotate to the target orientation and switch the view. Everything seems to work perfect.

So I used the same technique for I use on the iPhone app on the iPad app, but there seems to be a problem. The first the the orientation change, the view does change properly. However, after that, the screen will turn into a blank white screen.

I suspect that it has something to do with how I change the view. Note that I use this command to do it.

self.view = self.nextView1; for portrait
self.view = self.nextView2; for landscape

Note that I declare these two view as IBOutlet, set it to nonatomic, retain property, synthesize, and release them at the dealloc method just like what I did on iPhone version.

Is there something different in iPad environment that I can't use self.view = (new view) to change the view?
frostshoxx is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
My dad's iPhone 5 has white squares on the view screen. a-m-k iPhone 7 Feb 4, 2015 04:01 PM
iPad screen just goes black/blank when in use portanav iPad Tips, Help and Troubleshooting 3 Apr 17, 2014 06:32 AM
iPhone: Blank screen when trying to run XBMC on iPhone/iPad iOS 5.1.1 rak007 Jailbreaks and iOS Hacks 7 Apr 22, 2013 11:42 AM
Windows 7, blank display at welcome screen, bootcamp Trevaaaaaaa Mac mini 14 Sep 17, 2012 08:59 PM
MacBook Pro Screen Blank Without an External Display Plugged In (Both Work with It) MICHAELSD MacBook Pro 0 Aug 10, 2012 05:48 PM

Forum Jump

All times are GMT -5. The time now is 03:48 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC