👉 Fade in effects by using animate👈

Moonshine 
Moon 沐
Published in
1 min readOct 4, 2018
“MacBook Pro turned on” by Ibrahim Rifath on Unsplash

Steps:

  1. Build a fullscreen imageView
  2. addSubview(firstImageViwe)
  3. Define yourown func fadeIn(secondImageView) with UIView.animate() in it.
  4. And alpha 0 -> 1 with UIView animations nested within the completion blocks.
  5. Same way to define func fadeIn2() for thirdImageView.
  6. Never forget to call function.

Animation’s still hard to me to use it well.
Only keep exercising can fix it .

Hope you enjoy my work.

--

--