Flip View for 2.2.1 iPhone SDk -


i have app works great in 3.1.2, yet when revert 2.2.1 method flip view doesn't work, using following code:

-(ibaction)infobuttonpressed:(id)sender {     secondviewcontroller *second = [[secondviewcontroller alloc] initwithnibname: nil bundle:nil];      second.modaltransitionstyle = uimodaltransitionstylefliphorizontal;     [self presentmodalviewcontroller:second animated:yes]; } 

i following error (http://screencast.com/t/ytjlytgz). thoughts on how can fix easily?

modaltransitionstyle available 3.0+. if want have similar transition have create animation transition yourself. take @ following uiview function

+ (void)setanimationtransition:(uiviewanimationtransition)transition forview:(uiview *)view cache:(bool)cache


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -