[iphone] how to do a fade out/in transition on switch to landscape

In my app when I switch from portrait to landscape I completely change the view. Right now it does the normal animated transition from portrait to landscape and then paints in my new view. This looks kind of stupid.... so what I want is when I switch to landscape it fades in the new view w/o the standard animation.
here's my current code:
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOr ientation{
NSLog(@"done rotating");
ChartController* chartController = [ [ChartController alloc] initWithNibName:@"ChartView" bundle:nil ] ;
NSLog(@"chart view pushed");
NSLog(@"parent view contorller = %@", self.parentViewController);
self.navigationController.navigationBarHidden = true;
[[self navigationController] pushViewController:chartController animated:NO];
Message was edited by: philswenson
Message was edited by: philswenson

Try using willRotateToInterfaceOrientation:duration: instead. The documentation says:
You may also implement this method to swap the view if it should be different for landscape as compared with portrait orientation.

Similar Messages

  • Custom fade out/in transitions????

    I used to be able to overlap the end of one clip with the beginning of another clip in FCE, use the pen tool to add edit points to the video and audio and create custom fade outs/fade ins. I could get very precise results by adjusting the video and audio at separate areas. How do I do this in FCP X?

    You can do it in FCP as well. The video audio fade handles are built into every clip. For audio it's in the timeline.
    For video you open video animations for a clip Control-V and double click opacity.

  • Looking for a fade out only transition

    Is there a fade out transition that only fads out, and not in? I want to put one at the very end of my movie so that when it ends it fades out instead of just cutting off fast. I saw there is a fade in/out transition but that requires it going betwee n two clips. Thanks.

    Just place a regular dissolve at the end at whatever duration you need. Or keyframe the opacity.
    -DH

  • How to make the fade out effect.

    Hi Everyone!
    Can someone go through the steps for me in regards to making this effect below.
    Where the stripes are faded out down the page.
    Would indesign be the best place to make this in?

    InDesign is good for doing that. I created three layers (no required, but helps to isolate the elements).
    First, create a colored background.
    Second, make a layer for the white bars. I duplicated one, then used Object > Transform Again > Transform Again to make the rest. Then I grouped them.
    Apply the Effect called Gradient Feather to the group. Adjust the settings as shown.
    Add a type layer.

  • How to fade in and fade out buttons ???

    Hi guys I am building a website and I need help to fade in/ fade out buttons. Here is an example :
    My main goal is that when I roll over the services button, I want the submenu (corporate and weddings) to fade in. Then when I roll over the portfolio button, I want the first submenu (corporate and weddings) to fade out and the second submenu ( clients, corporate, weddings, etc..) to fade in and to stay like this. Finally when I roll over testimonials, the second submenu fades out. And so on for the rest of the buttons.
    FYI, i know how to animate the buttons to fade in/out but i dont know how to make them fade out when i roll over the other buttons.. I know this can be done with action script but I have no clue how...
    I have attached my fla and swf.
    http://www.habouryentertainment.com/files/site09_help.fla
    http://www.habouryentertainment.com/files/site09.flw
    Your help would be greatly appreciated !!!
    Thanks

    Some things you just have to take the time to unravel and learn.  It's not difficult/complex, you just have to avoid letting the code overwhelm you by its appearance... instead of looking at pages, look at one page at a time, line by line... take your time and follow a tutorial.
    People make tutorials to help those that need to learn, so there's no reason for anyone here to reinvent those wheels for every person that comes along.  If you are looking for someone who'll hand you your solved design, sorry, I'm not that guy.

  • Need instance of movieclip to fade out when I rollover separate button

    Movieclip I want to fade out:  "StartupText_mc"
    Within "StartupText_mc" I have a frame labels "normal" on the first frame and "over" on the last. On the actions layer I have "stop();" on the first and last frame. On the third layer I have a simple alpa tween from 100% to 0%.
    Now, Back to the main scene where the button "ProductMarketingIcon2_mc" and "StartupText_mc" exist next to each other. Here is the code I have for the button:
    ProductMarketingIcon2_mc.onRollOver = function() {
    ProductMarketingIcon2_mc.gotoAndPlay("normal");
    StartupText_mc.gotoAndPlay;
    ProductMarketingIcon2_mc.onRollOut = function() {
    ProductMarketingIcon2_mc.gotoAndStop("normal");
    StartupText_mc.gotoAndStop("normal");
    ProductMarketingIcon2_mc.onPress = function() {
    getURL("http://.........");
    ProductMarketingIcon2_mc.gotoAndPlay("over");
    Anyone know how to make   "StartupText_mc" fade out when "ProductMarketingIcon2_mc" is rolled over and simultaneuosly riggers it own tween?
    Once agin, thanks for anyone who reads this.

    You aren't telling the StartupText_mc to go anywhere in what you show...
    ProductMarketingIcon2_mc.onRollOver = function() {
    ProductMarketingIcon2_mc.gotoAndPlay("normal");
    StartupText_mc.gotoAndPlay; ???

  • Can't fade in fade out in iMovie?

    I am now on my new mac mini using iMovie 10.0.6 and don't see the option to fade in - fade out in transitions.  Is there an earlier version of iMovie that works on yosemite that still has those transitions?

    Hello IntuitiveOne,
    Welcome to the Apple Support Communities!
    I understand that you are looking for different transitions in iMovie 10.0.6, specifically the fade transition. To change the style of a transition, please refer to the link and instructions below. 
    Modify transitions - iMovie Help
    With your project open in the timeline, select Transitions in the Content Library section of the sidebar, below the Libraries list.
    To preview a transition, skim it in the browser.
    Browse transitions to find the new transition you want to use.
    Drag the new transition to the transition icon  for the transition you want to replace in the timeline.
    The new transition replaces the old one.
    Have a great day,
    Joe

  • I'm trying to make a ring to for iPhone and about 20 sec into the playing of the song it fades out and goes silent. What am I doing wrong? Thanks

    I'm trying to make a ring to for iPhone and about 20 sec into the playing of the song it fades out and goes silent. What am I doing wrong? Thanks

    Im not sure what garage band is, but i can tell you the way apple recommends making ringtones. Highlight a song in iTunes, right click and select get info. Goto the options tab and youll see the time lengths (write down the ending time) for the start time type in where you want the ringtone to start, ringtones can only be 30 sec long so make the ending time 30 sec later. Exit it out of the info and while song highlighted goto the "advanced" tab at the top of iTunes where you will see an option that says "create aac version". after creating the aac version you will have a duplicate song in your iTunes, change the original back to the correct time length. Take the 30 sec aac version and drag it to your desktop, right click the icon and click "preferences" You will then be able to change the name of the file which will be somethign to the effect of "songnamehere.m4a" you just change the m4a to m4r. you now have a ringtone, drag the new file to iTunes where it will pop up in a new tab labled ringtones. If you cannot change the name of the file when it is on your desktop let me know and i will give you instuctions how to be able to change it. Once you get it figured out you can use any song you have on iTunes to make a ringtone.

  • IPhone dropouts and fade outs

    iPhone 3GS with 4 update software now has frequent dropouts and fade-outs in previously full signal areas. It need not be in my hand.
    It also MAY suck up the battery faster since I now keep 3GS service etc on almost all the time.
    Suggestions?

    I'm confused.
    How is it that this new version of iMovie lacks the most basic ability to adjust text sizes or remove text effects? I'm talking about the ability to just put unmoving, unfading, unflaring, plain-old, simple text of different sizes on the screen. This new version makes it basically impossible to do simple tasks like make subtitles.
    For all of its bells and whistles it would be impossible to make a simple, silent black and white film like those people were making over 100 years ago—because the "new" iMovie lacks the ability to do simple intertitles!
    I'm talking about white text centered on a black background. In 2014, I can't type white text on a black background and format it. On an Apple product. I can do that on TextEdit, why can't I do that on iMovie 13?
    Someone please tell me I'm missing something here.

  • Help! I received a message on my iPhone that "phone Number Added to iPad4 [NAME of IPAD] is now using [PHONE NUMBER] for FaceTime and iMessage" and it is not my iPad!! What do I do, how do I shut them out??

    Help! I received a message on my iPhone that "phone Number Added to iPad4 [NAME of IPAD] is now using [PHONE NUMBER] for FaceTime and iMessage" and it is not my iPad!! What do I do, how do I shut them out??

    Use a strong password and set up Two Step Verification on your account.
    http://support.apple.com/kb/ht5570

  • Face time fades out and then tries to reconnect on new ipad retina display on WiFi.  Iphone 4s has no problem with face time from exact same location and same contact.  WiFi signal strong on both devices.  What gives?

    Face time fades out and then retries to connect (new Ipad Retina Display) on WiFi. Iphone 4s has no problem with face time from same location and same contact.  What gives?

    rdallas001 wrote:
    Is the router to small?
    Not necessarily, if you are using Facetime all the data goes through your WiFi router, your cable/DSL modem, your ISP and the internet to Apple's Facetime servers and then, in reverse, down to the Facetime recipient. If your ISP connection is too slow or there is excessive traffic on the internet you can have Facetime problems.
    Most WiFi routers can handle this unless others in the house are also using WiFi at the same time. The problem may be your ISP connection or congestion on the internet, etc.

  • Living in Japan and I'm an American who just signed up with Soft Bank the phone service here and spent a TON of money on an iPhone. I can't figure out how to connect my bank account at home to my app account so I can Skype my family. Please help!!!!

    Living in Japan and I'm an American who just signed up with Soft Bank the phone service here and spent a TON of money on an iPhone. I can't figure out how to connect my bank account at home to my app account so I can Skype my family. Please help!!!! I don't have a credit card nor do they gove debit cards to foreigners here, or at least it's really hard so I'm using my bank at home and still have a debit there. My phone number is 8 numbers plus the country code which is strange! Another thing is I was given a phone email that I was told to use for texting but I'm not sure how that works!! It's so frustrating too because no one speaks English here and I'm not very tech savvy. God bless you if you can help :)

    whichever app store you are connecting to, hyou need a credit card with an address in that country. Also, itunes gift cards must be in local currency too.
    If you are in japan, you need to use the japan app store

  • My iphone 5 broke so had to get a sim card and put it in my husbands old iphone 4. i can not figure out how to get my imformation on this his old phone; contacts, apps ect. i have switched my icloud account and apple id on the phone but nothing. HELP!

    My iphone 5 broke so had to get a sim card and put it in my husbands old iphone 4. i can not figure out how to get my imformation on this his old phone; contacts, apps ect. i have switched my icloud account and apple id on the phone but nothing has changed. please HELP!

    You do a restore as new to wipe the iPhone then at the end of restore you will be asked to restore from backup. Choose your iPhone backup.
    Note you cannot restore an IOS newer than the IOS on iPhone, you need to update iPhone first.

  • How can I have an object toggle between fade out and fade in with button?

    Hello all,
    I have a problem and I was hoping someone out there could help me out with it.
    I have smart shape that is set to show for "rest of project" on one of my early slides.  It is not visible in output in the properties, but when a user clicks a button in the project, it should fade in and then stay visible.  If the user clicks the same button again, it should fade out and stay hidden.  So rather than toggle between show and hide, which I know how to do, I want it to toggle between fade in and fade out.  I am having trouble with this.  Setting its transition to fade in and fade out in the properties of the smart shape doesn't help...
    Here is the advanced action I have attached to the button that should allow the user to toggle between fade in and fade out.  The "if" parts works -- the object fades in and then finally "shows" at 100% the "else" part almost works.  It fades out, disappears, but then shows again, which I obviously dont want it to do.  I want it to stay hidden.
    If you can help, it would be great!! 

    I Don't
    But as a work around you could try increasing the canvas size to match the illustrator file, paste in the object then crop off the excess canvas in photoshop

  • I just got the iphone 4s and i cant figure out how to get siri to work it seems to be the old voice command. HELP!

    i just got the iphone 4s and i cant figure out how to get siri to work it seems to be the old voice command. HELP!

    Did you enable Siri in settings?
    Settings > General > Siri > ON
    If Siri is off, all you get when pressing the home button for 1 second is the old Voice Control.

Maybe you are looking for

  • My iMac g5 won't connect to a wireless network

    I just got a new hard drive- and now I can't connect to our wireless network- all our other items are connecting so its not the router- thoughts?

  • Burn error 4251

    Sorry I know this has been addressed in post ealier but i have recently down loaded Itunes music from the store and get error 4251 after around the third song burn't. I am able to burn all music i have imported from CD but the purchesed album just wi

  • Migrating from SQL Server to Oracle - Emulating SQL Server databases

    I want to offer Oracle connectivity from an ADO.NET application that was developed for SQL Server. The application accesses multiple databases, each having the same schema but each storing different data that is confidential to the users of each data

  • Problem in dropdown list display in module pool

    Hi All,    One of the fields of  my module pool program is a drop down list. I am able to populate the values to the list but when i select any value, it doesnot come to the field. Can any one help me out in this ? Thanks in advanve ... Ranjita

  • Why do we need a symbolic link of pfile

    Hi all, Why do we require a symbolic link in $ORACLE_BASE/admin/SID/PFILE location for the actual pfile in $ORACLE_HOME/dbs location