react-native-navigation的迁移库

AnimatedImageView.m 380B

12345678910111213
  1. #import "AnimatedImageView.h"
  2. @implementation AnimatedImageView
  3. - (instancetype)initElement:(UIView *)element toElement:(UIView *)toElement transitionOptions:(SharedElementTransitionOptions *)transitionOptions {
  4. self = [super initElement:element toElement:toElement transitionOptions:transitionOptions];
  5. self.contentMode = element.contentMode;
  6. return self;
  7. }
  8. @end