1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

UIViewAnimationOptions メモ

Last updated at Posted at 2018-01-31

はじめに

基本的なUIViewアニメーションについてのOptionsメモ。
とっても今更なので、[公式ドキュメント]から随時更新していこうかと思ってます。

簡易アニメーション4種

  • curveEaseInOut
  • curveEaseIn
  • curveEaseOut
  • curveLinear
UIViewController
//ビューを時間をかけてどうこうしたい時
UIView.animate(withDuration: 3, delay: 0, options: .curveEaseInOut, animations: {
   // アニメーション
}, completion: { (success) in
   // アニメーション完了
})

GIFイメージ-12A23F5E4B0B-1.gif

活用方法不明・・・

  • layoutSubviews 

色々試してみたけれど、何がどう変わるのか今の所不明

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?