👉 Fade in effects by using animate👈
Published in
1 min readOct 4, 2018
Steps:
- Build a fullscreen imageView
- addSubview(firstImageViwe)
- Define yourown
func fadeIn(secondImageView)
withUIView.animate()
in it. - And
alpha 0 -> 1
with UIView animations nested within the completion blocks. - Same way to define
func fadeIn2()
for thirdImageView. - 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.