Speeding up native animation

Discussion in 'iOS Programming' started by mraheel, May 23, 2010.

  1. mraheel macrumors regular

    Apr 18, 2009
    Hi guys,

    I was wondering if there was anyway to speed up normal native animation.

    For example, speeding up "pushViewController:" (Move to another View Controller). and "presentModalView" animation.

    Basically, i'd want to speed up only those two specifically and perhaps others like deselectrowatIndexPath:animated:.

  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    I'm not aware of any way to directly affect the speed of those animations. However, they are simple animations of the center of a view. It might be possible to replace them with your own similar animations and you could adjust the speed of movement of your own animations.

    To slide a view in from the right side you create the view with its center just off the screen to the right. Then you move the center to the proper place on screen.

    Having said that there are probably some tricky bits that you'll discover as you play with this.

Share This Page