Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 28, 2011, 08:57 PM   #1
frostshoxx
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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Is there any monitor that is comparable to the 27" Cinema Display? alexreich Buying Tips and Advice 24 Feb 8, 2013 11:32 AM
Vice City blank screen ng7apoc Mac and PC Games 1 Feb 15, 2012 11:03 PM
MacBook Display Randomly Going Blank The_Man Mac Basics and Help 0 Apr 25, 2011 03:41 AM
white blank screen?! HELP! p.bear101 iPod touch 3 Aug 4, 2009 09:33 AM
White/Blank screen with sound on iTunes video downloads Melan Mac Basics and Help 1 Aug 3, 2009 11:18 AM


All times are GMT -5. The time now is 05:27 PM.

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

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