1, Don't use opacity in view switcher. 2, Use transitionend event in animator