2012-05-29 17 views

cevap

20

Bu ayarı animateWithDuration:delay:options:animations:completion: alternatifini kullanarak değiştirebilirsiniz. Seçenek parametresi için UIViewAnimationOption maskesini gönderin. Bunlar ilgilendiğiniz seçenekleri şunlardır:

UIViewAnimationOptionCurveEaseInOut 
UIViewAnimationOptionCurveEaseIn 
UIViewAnimationOptionCurveEaseOut 
UIViewAnimationOptionCurveLinear 

dokümantasyon UIViewAnimationOptionCurveEaseInOut varsayılan değer olduğunu söylüyor.

fazla ayrıntı için belgelere bakın: Sen kullanmalıdır http://developer.apple.com/library/ios/#documentation/uikit/reference/uiview_class/uiview/uiview.html

+0

Teşekkür çözecek, o sürü yardımcı olur! – Fitzy

9

, senin sorunun

[UIView animateWithDuration:duration delay:0 options:UIViewAnimationOptionCurveLinear animations:^{ 
     //code with animation 
    } completion:^(BOOL finished) { 
     //code for completion 
    }]; 
İlgili konular