2011-03-09 45 views
0

我翻轉視圖通過這個代碼我翻轉的看法,但我想3-d效果也

  • (無效)displayView:(UIViewController的*)NewView的{

    [UIView beginAnimations:nil context:NULL]; 
    [UIView setAnimationDuration:1]; 
    [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:window cache:YES]; 
    [window addSubview:newView.view]; 
    [UIView commitAnimations]; 
    

}

這很好,但我對切換視圖的3D效果感興趣,所以我該怎麼辦?

+0

請查看更新的答案 – visakh7 2011-03-09 07:02:20

回答